News:

Looking for documentation? Take a look on our wiki

Main Menu

Assign different style to one product also in category view

Started by Magev88, October 23, 2015, 13:06:14 PM

Previous topic - Next topic

Magev88

Hello,
i have create a new flypage style for my product, because for some VM product i DON'T want to see the "Add to cart" button. And it's ok, i assign the new style directly in the product option.
The problem is that when i insert the product in other categories, and i see it in grid/list view, i see the "Add to cart button" (while inside the details page i don't see it), and if i click on it, i can't go in the cart page, of course. So, i need to show products with "Add to cart" button and product without, in the same category, in the same page.

How can i do?
Thanks so much for help

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Magev88

I mean all both, i have now assigned the product flypage, but the category no. Because i have to see som products with "Add to cart" button, and somenthing without. So if i modify also the category page, this button disappear from all products.

I have 3.0.9.4 VM and Joomla 3.4.5

jenkinhill

Do you need stock control? If not then assign stock to all products which show add to cart and set to zero for those that don't. Set "Action when a Product is Out of Stock" to "Displays 'Notify Me' instead of 'Add To Cart' button". Then no add to cart would show in category or product details list, and if the phrase "Notify Me" is set to a blank string for the front end (or hidden with css) then that would not show either.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum