• Is there a way of Hiding a section of a Custom Single Product Page, based on the existence or not of Upsell products?
    So only if the product has at least 1 up-sell product assigned, then the section will be visible.

    Can this be done?

Viewing 1 replies (of 1 total)
  • Plugin Author crazypsycho

    (@crazypsycho)

    Hello @elavd

    if you have a upsell-products-widget on your page, you can reach this goal with some tricks.
    First you need our other plugin
    https://www.ads-software.com/plugins/dynamictags/

    Than you have to get the widget-id of you upsell-widget. You can get it with your browser developer tools.
    Than you can create a condition on your section. Use Widget-Content as DynamicTag and enter the widget-id of the upsell-widget.
    Than check for contains <li
    When it contains it, than it has upsell-products.

Viewing 1 replies (of 1 total)
  • The topic ‘Hide section if upsells are not set’ is closed to new replies.