Plugins for product add-ons doesn't work

This topic has 5 replies, 3 voices, and was last updated 6 years, 11 months ago ago by Olga Barlow

  • Avatar: SiroccoFR
    SiroccoFR
    Participant
    December 8, 2017 at 12:09

    I tested 2 modules to add options to the products :
    – YITH WOOCOMMERCE PRODUCT ADD-ONS (https://yithemes.com/themes/plugins/yith-woocommerce-product-add-ons/)
    – WooCommerce Personalized Product Option (https://najeebmedia.com/wordpress-plugin/woocommerce-personalized-product-option/)

    and none of them work with Xstore theme. The product add-ons are not displayed.
    They work fine with seventeen theme.

    WooCommerce Personalized Product Option use woocommerce_before_add_to_cart_button hook to render fields.

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 8, 2017 at 13:15

    Hello,

    You need to disable Ajax add to cart option in Theme Options > E-commerce > Single Product Page.

    Regards

    Avatar: SiroccoFR
    SiroccoFR
    Participant
    December 8, 2017 at 14:30

    I’ve done it before and it had no effect.

    “AJAX add to cart for simple products” is OFF

    Avatar: SiroccoFR
    SiroccoFR
    Participant
    December 8, 2017 at 15:32

    I have found where the problem came from.

    It’s in the file :
    themes/xstore/woocommerce/single-product/add-to-cart/simple.php on line 54

    If I remove this :
    if ( ! $product->is_sold_individually() ) {

    the product add-ons appears on product page

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 9, 2017 at 10:44

    Hello,

    We’ll fix this in our update.

    Regards

  • Viewing 5 results - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.