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

Hide add to cart button from parent items

Started by marvays, July 27, 2018, 04:20:37 AM

Previous topic - Next topic

marvays

Hi,
When I am in the Product Details page the "Add to Cart" is still visible for the parent items, which means that someone can click on it with no effect (he will get the message 'To add this product into your cart you have to select a product variant on the details page.'). How I can remove the Add to Cart button or disable it until someone selects a child item? I am using joomla 2.5.28 and VirtueMart 2.6.22. Maybe i must use any other Custom Fields For ALL plugin?
Thank you!

marvays

For a quick solution, I've dealt with sh404sef as an alias on url for now. I redirected the parent's address to the cheapest child.

Studio 42

I have write plugin doing this for you, bt in Vm 3.2, this is perhaps solved. Why you dont update ?

marvays

I will be update this website after done summer. will be after the season. client sells bows and arrows.
Do you have link to your plugin?

GJC Web Design

In VM3 you can mark parents as non saleable -- so u get a please make a choice dropdown on the parent
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

azri445

In VM3 you can mark parents as non saleable <---- where i can get this?

i only want add to cart available in product detail with variant, rather than on frontpage.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation