News:

Looking for documentation? Take a look on our wiki

Main Menu

Product details or add to cart in category view

Started by jtbworld, March 10, 2025, 05:08:08 AM

Previous topic - Next topic

jtbworld

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?

iWim

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)

jtbworld