VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: jtbworld on March 10, 2025, 05:08:08 AM

Title: Product details or add to cart in category view
Post by: jtbworld on March 10, 2025, 05:08:08 AM
I before had add to cart but now product details button.
I must have changed some Config but not sure where.
I see <?php if (VmConfig::get('show_pcustoms', 1) && VmConfig::get('show_prices', 1)) : ?>
Where is show_pcustoms and show_prices set?
Title: Re: Product details or add to cart in category view
Post by: iWim on March 10, 2025, 14:55:21 PM
They are both in VirtueMart Configuration
Prices
Go to VM Configuration > Pricing

Add to Cart (in browse view)
Go to VM Configuration > Shopfront
Scroll down to Product Listing
Set Show product customfields in browse views to Yes (displays Add to Cart button) or No (displays Product Details button)
Title: Re: Product details or add to cart in category view
Post by: jtbworld on March 10, 2025, 15:04:51 PM
Great, thank you!