News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Allow to buy a product, only if the parent it is in the cart

Started by jlabuelo_sm, February 23, 2017, 17:00:25 PM

Previous topic - Next topic

jlabuelo_sm

Hi all

I am trying to figure out how this can be done. I have two products, A, and B, however I only would like to allow to buy (or propose to buy) product B, if product A is already in the cart.
Basically I have solved this by creating two produtcs in virtuemart
- Product A
- Pack Product "A+B".

What I am trying to get is that if user buys Product A, virtuemart would suggest something like "why not completing your order of product A, adding product B".

Is this possible?

Thanks a lot!

Thanks a lot

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lindapowers

Maybe these extension is useful for your case since you need conditions based on products added at cart https://www.daycounts.com/shop/virtuemart-3/bonus-items.htm

Ask the developer if you can achieve what you want. The linked posted by Milbo was solved with shopper groups as himself and others suggested. My case is a bit different since I just needed added products based on order total and you need something like conditional custom fields depending on products added at the cart.

Regards