Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - CleanMart (SKU# FLEX-00015)

TOPIC: YOU DO NOT SEE PICTURE AVAILABILITY Product

YOU DO NOT SEE PICTURE AVAILABILITY Product 9 years 3 months ago #11468

Hi,
1- I went configuration> Featured> put option - Show 'Notify me' instead of the button 'Add to cart' products are orderable normally exhausted, but we inform you with an image exchange

2 - I went to Products> Product status> In Stock> Availability put imagine "1-2m.gif"

I go on the product do not see imagine "1-2m.gif" effect and Zoom Effect


www.hotelromaest.it/TEST/index.php/2014-12-07-19-02-59/2014-12-07-19-09-19/calzature-bambino/us-polo-beatles-dettagli%20del%20prodotto
Attachments:
The administrator has disabled public write access.

YOU DO NOT SEE PICTURE AVAILABILITY Product 9 years 3 months ago #11485

Hi,

1- Don't choose Products Out of Stock are orderable, no special action option. It is for selling digital products, this is why the availability icons are gone.

Instead, select this: Displays 'Notify Me' instead of 'Add To Cart' button and increase the "in-stock" numbers for all products to 9999 (basically the result will be the same, no products will be out-of-stock because the stock number is too big)

2- To show the "ZoomEffect", open this CSS file:
www.hotelromaest.it/TEST/templates/yoo_peak/html/com_virtuemart/assets/css/flexible.css

scroll to the bottom, and include this CSS rule:
div.flexibleZoomContainer { z-index:1001;}

regards.
Last Edit: 9 years 3 months ago by Support.
The administrator has disabled public write access.

YOU DO NOT SEE PICTURE AVAILABILITY Product 9 years 3 months ago #11496

1 - Yes, I want to see that image that indicates how many days need to have the product in stock and if finished
2 - OK
Attachments:
The administrator has disabled public write access.

YOU DO NOT SEE PICTURE AVAILABILITY Product 9 years 3 months ago #11503

Ohh i think i have misunderstood you in the first place, but now i see what you meant;

To show the "availability" icon if the product is out of stock; open this PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/productdetails/default.php

find this line (line#314):
if($stockhandle=='disableadd' and ($this->product->product_in_stock - $this->product->product_ordered)>=1){

and replace it with this:
if($stockhandle=='disableadd'){

then you will start seeing the availability icons even though the product is out-of-stock.

Regards.
Last Edit: 9 years 3 months ago by Support.
The administrator has disabled public write access.

YOU DO NOT SEE PICTURE AVAILABILITY Product 7 years 2 weeks ago #14938

I am having a similar issue - I would like out of stock items to show the timeline it takes to get them in - but when I follow the last step above, I get an image that says In stock! Ships in 1-4 weeks... but I don't want it to say that it is in stock, because we are also a walk in retail store - this is more of a catalog for customers to browse - I would like it to just say Availability: 1-4 weeks
Attachments:
Last Edit: 7 years 2 weeks ago by Tricia Ingram.
The administrator has disabled public write access.

YOU DO NOT SEE PICTURE AVAILABILITY Product 7 years 1 week ago #14944

Hi,

Actually you both guys want to use the "availability" icons for different purposes. Those are the "availability" icons. They are exist to display "handling time", not for to displaying "When the product will be back in stock again"...If the product is out of stock, the "handling time" will be non-sense so nothing is displayed.

You can use those banners for different purposes of course. But then you have to change the text reads on them. It is also easy though, because those banners are all stored in the same folder and there is PSD file for editing them. (PSD is the source file for Photoshop, you need Adobe Photoshop to open and edit them)

So, to edit this PNG file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/assets/images/availability/1-4w.png
(which reads In Stock: 1-4 weeks)

1- Open this PSD file (using Adobe Photoshop):
/templates/YOUR_TEMPLATE/html/com_virtuemart/assets/images/availability/1-2m.psd

2- Change the text from "In Stock" to "Availability"
3- Change the text from "Ships in: 1 - 2 months" to "Ships in: 1 - 4 weeks"
4- Save the file as 1-4w.png
(to this path: /templates/YOUR_TEMPLATE/html/com_virtuemart/assets/images/availability/1-4w.png -- you actually need to overwrite with the existing one)

Do NOT create a new files. Use the already existing file, use PNG file format, don't change the file name, just overwrite them. If you create new files or use a different extension (i.e: GIF or JPEG), they won't appear in the Virtuemart backend. The file names MUST match with what Virtuemart Core provides.

Regards
Last Edit: 7 years 1 week ago by Support.
The administrator has disabled public write access.

YOU DO NOT SEE PICTURE AVAILABILITY Product 7 years 1 week ago #14946

Thank you! That was quite easy. I have attached my files in case anyone would like the same thing.

It doesn't make sense to me that something in stock would take weeks or months to ship. I don't see why that feature would be useful to anyone. I did not realize it was a core virtuemart feature - everything I had read in other forums was pointing towards the template.
Attachments:
The administrator has disabled public write access.

YOU DO NOT SEE PICTURE AVAILABILITY Product 7 years 6 days ago #14956

Hi,

In practice, the default usage for those banners are to display "handling time". The "availability time" (to tell shoppers when the product will be in stock is defined by using this field: "Availability Date". But then you have to select an exact date.

As i mentioned in my previous reply; those banners or the availability date field can be manipulated and can be used for different purposes. It is all up to your needs. Virtuemart is an open-source ecommerce software and can be modified and used as whatever you need. You can turn those banners into completely different things if you would like. For instance; let's say you are selling subscription for something; you can use those banners to display the subscription period as well. Those modifications are all up to you and your needs.

Regards.
The administrator has disabled public write access.
Time to create page: 0.127 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo