availability

GK User
Wed Jul 11, 2012 9:42 pm
After update to latest 2.10.1 availability field in the product description has gone. Is this like it should be now ?
User avatar
Gold Boarder

teitbite
Mon Jul 16, 2012 4:16 pm
Hi

Please show me an exact page where You are sure it should be visible.
User avatar
Moderator

GK User
Wed Jul 18, 2012 8:57 pm
Near the add to cart button was availability picture. Not it is gone.
teitbite wrote:Hi

Please show me an exact page where You are sure it should be visible.
User avatar
Gold Boarder

teitbite
Wed Jul 18, 2012 11:35 pm
Hi

Hard to tell because I cannot log to Your backend, but please try rename /html/com_virtuemart to /html/_com_virtuemart and show me the site than.
User avatar
Moderator

GK User
Sun Jul 22, 2012 11:11 am
in override.css just add

.availability {
display: block;
}
User avatar
Fresh Boarder

teitbite
Sun Jul 22, 2012 2:56 pm
Hi

Hehe. That's the kind of answer I was looking for too. Thanks :)
User avatar
Moderator

GK User
Thu Jul 26, 2012 5:02 pm
I am having the same problem. I tried putting the code:

.availability {
display: block;
}

in the override.css in mysite/templates/gk_esport/css/ but it hasn't worked, have I put it in the correct override file??

I have "Display stock level" otpion also ticked in the shop configuration but nothing seems to be appearing in the front end, no images or stock levels, can you please help??

I have the most current template.
User avatar
Junior Boarder

teitbite
Fri Jul 27, 2012 11:20 am
Hi

Have You enabled using of override.css file in template settings ?
User avatar
Moderator

GK User
Sun Jul 29, 2012 5:02 pm
For me it didn't work also.

teitbite wrote:Hi

Have You enabled using of override.css file in template settings ?
User avatar
Gold Boarder

teitbite
Tue Jul 31, 2012 5:58 pm
Hi

Please someone give me a direct link to a page with this problem. I haven't looked into that after Veilands posted His solution. So it's my turn now.
User avatar
Moderator

GK User
Sun Jan 13, 2013 2:49 pm
http://prezervatyvai.lt/vitalis/vitalis ... zervatyvai
teitbite wrote:Hi

Please someone give me a direct link to a page with this problem. I haven't looked into that after Veilands posted His solution. So it's my turn now.
User avatar
Gold Boarder

teitbite
Sun Jan 13, 2013 7:26 pm
Hi

There is not code for availibility to display at all. Is a style file for virtuemart updated ?
User avatar
Moderator

GK User
Sun Jan 13, 2013 9:16 pm
Well this is latest virtuemart with latest theme. But this problem is for a while now, it appeared after some update few months ago (when this thread started).

teitbite wrote:Hi

There is not code for availibility to display at all. Is a style file for virtuemart updated ?
User avatar
Gold Boarder

teitbite
Mon Jan 14, 2013 8:23 pm
Hi

Ok. Please just make sure a template files for VM are updated in /html/com_virtuemart and send me an ftp access. I've removed all amils with access in case my computer was stolen.
User avatar
Moderator

teitbite
Wed Jan 16, 2013 12:50 am
Hi

During checking the code I've found out that an avilability field was disabled in VM configuration. Please check if it's working now I wasn;t able to find a product which is out os stock so this can be shown. Sorry, it's because language barrier.
User avatar
Moderator

GK User
Sat Mar 16, 2013 7:26 pm
Some how remembered this problem and I see that still the same. Now availability is shown.
User avatar
Gold Boarder

teitbite
Sun Mar 17, 2013 9:28 pm
HI

Sorry. I do not understand. Is it solved ? Was it only a misconfiguration issue ?
User avatar
Moderator

GK User
Sun Mar 17, 2013 9:43 pm
Sorry, my mistake. didn't finished sentence :)

Vailability only shown when stock is 0 and show some availability is selected. If stock is normal, then no availability is shown, but in configuration I understand it is set to show.

Vaičikonis wrote:Some how remembered this problem and I see that still the same. Now availability is shown.
User avatar
Gold Boarder

teitbite
Mon Mar 18, 2013 1:59 am
Hi

It looks like it was designed this way. An option in VM is "Products Out of Stock are orderable, and the field 'Availability' below is displayed". So I think Availability is only to be shown when there is no product in stock and it's a message how long will it takes to restock it. I think I can remove the condition and force it to show always. Do You want me to do this ?
User avatar
Moderator

GK User
Mon Mar 18, 2013 9:18 pm
Yes I would like to have such opportunity. In this case I can set to all products different availability, not only to those who is out off stock.

teitbite wrote:Hi

It looks like it was designed this way. An option in VM is "Products Out of Stock are orderable, and the field 'Availability' below is displayed". So I think Availability is only to be shown when there is no product in stock and it's a message how long will it takes to restock it. I think I can remove the condition and force it to show always. Do You want me to do this ?
User avatar
Gold Boarder

teitbite
Tue Mar 19, 2013 3:42 pm
Hi

I've forced condition by replacing line 328 in /html/com_virtuemart/productdetails/default.php

Code: Select all
            if (($this->product->product_in_stock - $this->product->product_ordered) < 1) {


with just

Code: Select all
            if(1) {


so it will be displayed always now.
User avatar
Moderator

GK User
Thu May 23, 2013 5:56 pm
hi,
is it possible to have something like this in products detail page? I mean to add the stock level sign.
Also is it possible to have the stock level sign on mod news pro gk4 (on new products and popular products) as it is very usefull for users who don't click on product details.

thanks

webpage copy.png
User avatar
Senior Boarder

teitbite
Fri May 24, 2013 10:48 am
Hi

Yes it is, as I'm not mistaken (I'm not a VM expert) the availability should be available already to show there. You just need to enable it in VM settings.
User avatar
Moderator

GK User
Fri May 24, 2013 12:12 pm
yes i know about availability in vm settings. But the problem is not the availability, but the stock level. I wan't to show how much stock left. If i enable the availability sign it will show the 2-3 days.gif etc. (the default vm availability sign). I want to show the stock level sign and when it is without stock then the availability message or sign.
The same i need for the mod news pro gk4 on popular and new products, to show the stock level in front page.
User avatar
Senior Boarder

teitbite
Sun May 26, 2013 9:08 am
Hi

I think availability is made with stock information, so this supposed to be the same thing. Please enable showing stock level and send me ftp access so I'll make it to show number of available products instead.
User avatar
Moderator


cron