• Hello, im Carlos and im using ur really good plugin, i love it. Now im using in a eCommerce site and im trying to show all info in my homepage. I′ve managed to show the price of my articles in homepage (searching here all topics), but i need to show too the YITH badges and the Add to cart button and i dont know how do it…

    Can u help me or show me to how i need to do it?

    Thanks!

    • This topic was modified 6 years, 2 months ago by Kuassar.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Kuassar

    (@kuassar)

    I cannot program but i tryed it but dont works. I searched the codes of yith badges and i make this (but dont works, show error and page is down) using other code of this forum support

    //Wpsp show Badges
    add_action( ‘wpsp_image_location’,’jam_show_product_badge’ );
    function jam_show_product_badge()
    {
    global $product;
    if ( $badge = $product->yith-wcbm-badge() )
    echo $yith-wcbm-badge;
    }

    I cant do more becouse i dont know what im doing lol

    • This reply was modified 6 years, 2 months ago by Kuassar.
    Plugin Author Tom

    (@edge22)

    Hi there,

    I’m not familiar with YITH badges. Is there any documentation on how to add them manually?

    Thread Starter Kuassar

    (@kuassar)

    Hi Tom,

    I think not… the only thing i can offer you is the developer section of plugin, where i found the files to see where is the code, but i dont know where is… Only i trying to paste in functions.php of ur plugin the code of yith i think is obviously but always is a error when i did this…

    https://plugins.trac.www.ads-software.com/browser/yith-woocommerce-badges-management/

    And add to cart in show posts it possible to make it?

    Thanks for ur reply

    Thread Starter Kuassar

    (@kuassar)

    Hello Tom,

    Some notice about badges? ??

    Plugin Author Tom

    (@edge22)

    Hi there,

    Is there any chance you can ask their support if it’s possible to manually place the badge? If so, they should be able to provide the code, which we can then hook into the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show YITH Badges and Add to cart of WooCommerce’ is closed to new replies.