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

Add Bonus Products in Products details page

Started by spk063, August 19, 2013, 12:43:44 PM

Previous topic - Next topic

spk063

I am creating a Online Shop in which if u buy a product, a free product will be give. But the free product also haave Price, but the price of the Bonus(Free) product will be hidden in cart page's Total.. Price of the Bonus product should not calucated for the Billing!!

I just made some corrections and i have dispalyed some free producrts list in the Products Details Page. and also included Add To cart button for the free Product.
But got many problems for reseting price in the cart page.

Maxim Pishnyak

Quote from: spk063 on August 19, 2013, 12:43:44 PM
But the free product also haave Price, but the price of the Bonus(Free) product will be hidden in cart page's Total.. Price of the Bonus product should not calucated for the Billing!!
So free products have price 0.001 or not?

Probably you could use IF statement to avoid calculations for Bonus products.

You could check custom extension related to 'bonus products' theme in 3rd party forum section.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

spk063

Yeah the bonus product will also have price for Ex:$10.. Concept of the site is Buy One and Get One. All  products will have price. According to Catregory, and dimension of the product, Bonus products list will be generated.

Can u tell me, where to include the If statement for the Bonus product.  I have tried some conditions but i failed.
I there a way to send a varaiable along with product Id to the cart page from Product details page??

Maxim Pishnyak

I'm sorry, but case with product prices other then 0.001 would become a bit more complicated to be resolved with some IF statements.

Quote from: Maxim Pishnyak on August 19, 2013, 12:51:42 PM
You could check custom extension related to 'bonus products' theme in 3rd party forum section.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart