Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Andrea Grillo

    (@agengineering)

    Hi there,

    I think the problem is that you haven’t set a product price. In this case WooCommerce hide the add to cart button and you don’t see the add-ons. Try to set the product price to ZERO instead of empty.

    Let me know.

    Thread Starter Hasan Al Khaled

    (@hasanalkhaled)

    Hi Andrea,

    I understand your solution, your solution works when I DON’T see product addons. But I’m seeing product addons. Just have to show prices along with option value like this – https://demo.chethemes.com/pizzaro/product/hawaii-vegetarian-pizza-3/

    Thread Starter Hasan Al Khaled

    (@hasanalkhaled)

    Front the official doc – https://docs.yithemes.com/yith-woocommerce-product-add-ons/add-ons/

    I have highlighted a screenshot from this doc to show the addon price I wish to display – https://ibb.co/dfxhdd4

    Plugin Support Andrea Grillo

    (@agengineering)

    Hi @hasanalkhaled
    I understand your idea and I confirm to you that need a product price.
    If you set the product price to ZERO and add the price for each add-ons, and make the add-ons required all works like you want.

    However, in general, our plugin use the add to cart button hooks to show and add the add-ons feature. If you don’t set a price WooCommerce hide the add to cart button, the requirement actions for add-ons aren’t available and the plugin stop to works.

    Thread Starter Hasan Al Khaled

    (@hasanalkhaled)

    Hi Andrea,

    I have followed your steps and still the price of addon items are not showing – https://pizza-end.com/product/margherita/

    Plugin Support Leanza Francesco

    (@leanzafrancesco)

    Hi,

    maybe do you have customized templates in your theme folders (for the add-ons)?
    Please try to activate a default WordPress theme (i.e:Twenty Twenty) and see if you have the same issue.
    You should see the “radio” add-ons as follows:

    Please try this solution and let us know what’s the result.

    Thread Starter Hasan Al Khaled

    (@hasanalkhaled)

    Hi Leanza, Thank you for your response. I have tried your solution and prices are showing. so probably from theme the view is filtered/hidden. any idea how to resolve?

    Thread Starter Hasan Al Khaled

    (@hasanalkhaled)

    Hi, just to update that I have found the bug, in customized theme source code for this plugin the name of the output file was misspelled. Resolved. Thank you for all your support.

    Plugin Support Alessio Torrisi

    (@alessio91)

    HI there,
    I was happy to read that your problem has been fixed.
    Don’t hesitate contact us whenever you need.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to display addon price’ is closed to new replies.