VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: AnthonyWang on February 19, 2016, 12:15:12 PM

Title: Products price not showing when publish down or no stock
Post by: AnthonyWang on February 19, 2016, 12:15:12 PM
How can i get the price always show on frontend? even product date is publish down,or no stock,
I know if no stock or date publish down,the cart will not show,but price?

I tried $product->allPrices function, still can't get it work...
please help!


Joomla 3.4
VM3.0.12
Title: Re: Products price not showing when publish down or no stock
Post by: jenkinhill on February 19, 2016, 12:25:54 PM
Insufficient information. Are you using VirtueMart default templates or overrides? URL?

Other reasons for price not showing may be setting shopper group specific price or failure to set store default currency.
Title: Re: Products price not showing when publish down or no stock
Post by: AnthonyWang on February 19, 2016, 22:11:19 PM
I found the Problem,the price not show because it's use "call for price",
but i still want that even it's no stock,price still show on the page,
how can i do ?

PHP 5.4.45-1
Joomla 3.4
VM3.0.12
Title: Re: Products price not showing when publish down or no stock
Post by: jenkinhill on February 19, 2016, 23:35:31 PM
Deselect "Displays 'Notify Me' instead of 'Add To Cart' button" in Configuration/Shopfront/Action when a Product is Out of Stock and select the option you prefer.
Title: Re: Products price not showing when publish down or no stock
Post by: AnthonyWang on February 20, 2016, 03:20:49 AM
Thanks for quick reply,Jenkinhill,
but i mean call for price,
I am confused,when i set backend product publish down date ,after that date,the price will hide,
whatever what's your config. in backend and php echo price will become nothing,
please help!
Title: Re: Products price not showing when publish down or no stock
Post by: AnthonyWang on February 22, 2016, 09:16:26 AM
I create another new joomla and virtuemart system,and default template default setting,
after publish down date,all price value will gone,
the result the same,
anyone?



PHP 5.4.45-1
Joomla 3.4
VM3.0.12
Title: Re: Products price not showing when publish down or no stock
Post by: AnthonyWang on February 22, 2016, 19:54:31 PM
sorry,it's my fault,
the field is "price_publish_down",when i set it in backend,all price will gone,
please help!