VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: izemate on January 09, 2014, 12:40:03 PM

Title: Availability image not shown
Post by: izemate on January 09, 2014, 12:40:03 PM
Hi

I have a problem that when i add a new product and select a Availability image, the image is not displayed on the product detail site?
Any idea what the problem could be?

Thanks in advance
Title: Re: Availability image not shown
Post by: jenkinhill on January 09, 2014, 14:10:28 PM
I assume "Products Out of Stock are orderable, and the field 'Availability' below is displayed" is selected in Config/Shopfront and availability images selected there and/or in the product editor.

Check your productdetails default.php template for the availability display code. Should start with the marker  // Availability
Title: Re: Availability image not shown
Post by: izemate on January 09, 2014, 16:34:28 PM
Out of Stock is ordeable..
Out of Stock Availability images is set.. And that also Works fine

The problem is when i set availability images for a product that is in Stock..Then it is not shown :-(

I use default template

Any ideas?
Title: Re: Availability image not shown
Post by: jenkinhill on January 09, 2014, 16:49:30 PM
It is only for products out of stock. ie how much the customer will have to wait before dispatch.

If you want it to work differently then you will need to recode the default.php file so it does not check stock, and make a new override.
Title: Re: Availability image not shown
Post by: izemate on January 09, 2014, 21:17:17 PM
Okay so it is not possible to show availabilty image on product that is in Stock?
How do you Then show how long dispatch Will take on products that is in Stock?
Title: Re: Availability image not shown
Post by: jenkinhill on January 10, 2014, 00:39:46 AM
Include it in the long description or maybe use a custom field.