How to remove SKU (or any other Woocommerce data) from layer ?
-
Hi,
The plugin adds SKU to dataLayer in this JavaScript:
<script data-cfasync="false" data-pagespeed-no-defer type="text/javascript">
As “sku”:”XXX”
Also SKU is binded to ‘Add to cart” button here:
<input type="hidden" name="gtm4wp_sku" value="XXX" />
Because of some reasons, temporary I can’t have any signs of SKU in a product page source code. How to easily remove it? I thought in the settings will be some filter, that can remove any data in woocommerce but there is no. Do you know a snippet that would remove it?
BR
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to remove SKU (or any other Woocommerce data) from layer ?’ is closed to new replies.