• Resolved vainucleo

    (@vainucleo)


    Great plugin!

    However I would like to achieve something a little bit different form what this plugin does out of the box: I have a Divi page where I display 6 products in sequence, to simulate an installments payment process. So with the help of your plugin product 2 depends on product 1, product 3 depends on product 2 and so on.

    What I would like to do is to force the dependencies to hide products that cannot be purchased, so if I’ve already bought only product 1 the page displays only product 1(already bought) and 2, if I’ve already bought product 2 the page displays product 1, 2 (already bought) and 3 and so on.

    How can I do this?

    Thanks in advance ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter vainucleo

    (@vainucleo)

    A valid alternative to this for me would be the following: in the page mentioned above, where I’ve added the add to cart via shortcode to jump the single product page and go direct to checkout, when I try to buy a product with dependencies I’m brought to the single product page which displays the notice from your plugin.

    A great solution would not to jump to the single product page but directly to the cart AND display the error notice, or display the notice in the same page I’m coming from, but I totally need not to go to the single product page.

    Is it possible?

    Thanks a lot!!!

    Plugin Author SomewhereWarm

    (@somewherewarm)

    Hey @vainucleo,

    This isn’t possible with Product Dependencies — at least not without writing some custom code for it. Product Dependencies is not able to restrict content, like you describe.

    I am pretty sure that this is possible with WooCommerce Memberships though — https://woocommerce.com/products/woocommerce-memberships/

    Cheers,
    Manos

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide products’ is closed to new replies.