Support » Fixing WordPress » Woocommerce hardcoded Facebook like button shows up twice

  • We wanted to add multiple product sizes for one or more items on our site, running on woocommerce plugins.

    There is a facebook like button that shows up below the Add to Cart button once a product size has been selected.

    On every page the Facebook like button shows up fine, except for those products for which you can select multiple sizes. Then the like button shows up twice.

    I didn’t build the site, but found the hardcoded section for the FB-like button in the functions.php file. I’ll included it here. Is it perhaps missing some bit of code to keep from duplicating in said instances?

    Here’s the page on the site:

    Here’s the code at pastebin:

    Thank you.

  • The topic ‘Woocommerce hardcoded Facebook like button shows up twice’ is closed to new replies.