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

price zero and call for price still buy now button

Started by henk3001, May 23, 2012, 16:27:57 PM

Previous topic - Next topic

henk3001

Hello, I am using:

Joomla! 2.5.4
Vm 2.06
PHP versie 5.3.10

When prices are 0, and in the configuration the option ask for price is on, the button buy now is still in the shop.

Can someone help me?

Thx
Henk

henk3001

Found it....

in the template the following code was missing:

if (!VmConfig::get('use_as_catalog', 0) and !empty($this->product->prices)) {

michellezum

I'm having the same problem!!

I'm not a programer. Where do I put this code? In the template index.php file? Where in the file should I put the code?

Thank you in advance for your help!

Michelle




AH

#3
Michelle

If you are not a programmer then I suggest you leave it alone

You will need to create an override in your template for the relevant file.

Is there something stopping you upgrading to the lates version of VM 2.0.21?

Regards
A

Joomla 4.4.5
php 8.1

Milbo

Yes Michellezum, check the date, the post is a year old, I am quite sure the problem is fixed already
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/