Baikare Sandeep Baikare Sandeep - 18 days ago 6
PHP Question

woocommerce product showing two "Add to Cart" button on responsive mobile/tablet view?

I am using woocommerce plugin, It is showing products details on desktop view is correct but when i switch on mobile view or tablet(i.e. responsive) view then it shows two "Add to Cart" button for one product.

Answer

Single product is displayed from wp-content\plugins\woocommerce\templates\single-product.php

This file (wp-content\plugins\woocommerce\templates\content-single-product.php) is called from single-product.php for adding content and add-to-cart button on single product page.

Comments