WordPress.org

Ready to get started?Download WordPress

Forums

Woocommerce hardcoded Facebook like button shows up twice (1 post)

  1. Ryan Howard
    Member
    Posted 1 year ago #

    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: http://www.hottot.com/shop/shampoo/

    Here's the code at pastebin: http://pastebin.com/MYh0SHWG

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic