How to add content to “All products” block?
-
Hi
Products displayed in the “All products” block have no IDs anywhere in their HTML, thus they cannot be tracked with any analytics tools as “item views”. Is there any way to add this ID to the HTML of these poroducts?
I tried using the “woocommerce_blocks_product_grid_item_html” filter, but it doesn’t work with this block. The community on github did not give me any answers so I deleted my post after a week of waiting for a reply.
On a sidenote, where can I find the PHP file responsible for showing this block in your github repo? There are hundreds of files with no clear description of what they do.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to add content to “All products” block?’ is closed to new replies.