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

Catalog with cart variant custom fields enabled

Started by sbouloc, August 07, 2012, 12:52:31 PM

Previous topic - Next topic

sbouloc

Hello all,

I want to use Virtuemart as an online catalog, but I noticed that if I choose the "Use only as catalog" option, then I won't be able to use the cart variant custom fields (article with different sizes and prices), which is very convenient even in a catalog only site. So I was wondering how I could get rid of the cart button and quantity field in this template?

Also, I noticed that the "Please log in to write a review." is visible even if the review and rating are disabled. How can I solve this issue?

Any help appreciated. Thank you for your time.

J 2.5.6 / VM 2.0.8e

paulhazell

Does anyone know the answer to this as i have exactly the same problem

sbouloc

Hi,
please try add to template override.css


    .productdetails-view .addtocart-bar {
    display:none;
    }



and remember to enable override.css option in template settings if the option exists

sananthv

Hi

I am having the same problem. Not sure how to do this. So you mean under template/templatename/css/overide.css i should enter this code?

Tried but no luck.

Appreciate if someone can tell me how to make the custom fields appear when using VM 2 as a catalogue.


jenkinhill

The css can be added to the end of your normal Joomla template.css file, alternatively you can remove the addtocart-bar div from the template file joomla_root/components/com_virtuemart/views/productdetails/tmpl/default_addtocart.php and use the edited file as a template override.
http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

The important point here is that you leave "Use only as catalogue " unselected. You are using a normal store setup, but hiding/removing the add to cart facility on the product details page.
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