Page 2 of 5

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Sun Sep 25, 2011 4:20 pm
by Ozfarmer
chadelkins wrote:It works great on the individual item page ...
store/index.php?route=product/product&path=70&product_id=100

but doesn't work on the main items listing page ...
store/index.php?route=product/category&path=70
Hi Wonderful Mod! is the above going to fixed?

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Thu Sep 29, 2011 1:03 pm
by victor.gatto
same, need it to work for featured products, your the best q ;)

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Thu Oct 06, 2011 4:10 am
by clapiana
when this works on the 1513 grid/list displays it will be excellent

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Sat Nov 05, 2011 7:49 am
by Derrickyoung95
i have installed VQMOD and the cache directory is populated. I then copied the XML file to the vqmod\xml folder but does not work.

Any ideas? Any update Q on having the category page show out of stick msg too?

installed on Opencart 1.4.9.5
VQMod 2.1.4

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Sat Nov 12, 2011 5:03 pm
by Sam Hayes
Just tried on 1.5.1.3 with no luck. Would love to see this product updated if possible.

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Thu Dec 01, 2011 4:31 am
by tobychin
I have modified the original VQMod to now also remove the Add to Cart button from the following pages:

1. Product pages (already there)
2. Category pages
3. Search pages

This version of the mod is only set up for OC v1.5.x and VQMod 2.1.x and higher. I didn't include the manufacturer mod because we don't use that portion of OC. So, if someone wants to add that in and then re-upload.... ;D

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Thu Dec 08, 2011 12:27 am
by eBsimplicity
Hello tobchin!

Your version worked great!

But i couldn't make it replace the buttons in the module, "Featured". Which is basically my entire front page. I tried to copy parts of your work, with some modifications, though without luck.

You got any advice/solution for this?

Thanks!

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Fri Dec 09, 2011 12:23 am
by tobychin
eBsimplicity,
Glad to hear it worked for you! I'll add in support for the featured module. Should be done in a couple days, if not later today.

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Fri Dec 09, 2011 1:05 am
by tobychin
Got it done sooner than expected. Redownload for Featured module support.

If you've downloaded it before, you may want to download it again. I made an error in the search page where the stock displayed opposite what it should have displayed.

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Fri Dec 09, 2011 6:50 am
by picstart
Is it possible to change the colour of the button that displays out of stock , so people can see at a glance out of stock products

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Thu Dec 15, 2011 11:37 am
by major1337
hi tobychin,
thank you for the great mod!!! thank you! thats exactly the one thing that i miss at opencart!!! thanks =)

could you modify also the out_of_order_button for the newest products? that would be great!

thanks again mate!

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Fri Dec 16, 2011 4:57 am
by mwshark
major1337 wrote:hi tobychin,
thank you for the great mod!!! thank you! thats exactly the one thing that i miss at opencart!!! thanks =)

could you modify also the out_of_order_button for the newest products? that would be great!

thanks again mate!
Hi ya,

This mod is exactly what I need, so thank you very much tobychin.

I have modified the previous version as I too needed the mod to work for the latest products. I have updated the new version (attached)

(Please note that I did not create this mod, I have simply adapted it to work with the latest module in addition to the preivous features)

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Fri Dec 16, 2011 2:06 pm
by major1337
hi mwshark,
thanks but it donĀ“t work... yesterday i have done the same but it also dont work .
by changing "latest.tpl" and "latest.php" nothing work anymore... everything is shown as buyable.
i use the latest opcart version 1.5.1.3.

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Mon Dec 19, 2011 4:11 pm
by major1337
10 times downloaded... could someone of you downloaders, tell me if the script work for you and what version of opencart do you use, if it work?

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Fri Dec 30, 2011 4:11 am
by Marcus
Really good Mod and working fine in 1.5.1.3.

Is it possible to change the Add to Cart text to Pre Order, happy for it to be greyed out, unless someone knows a way that the pre order items can be added to a separate list and sent off as an "order request" perhaps.

Cheers in advance

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Thu Jan 05, 2012 2:32 am
by tobychin
mwshark,
You're very welcome. It's always fun to run with an idea!

major1337,
The last two available downloads you see here work on 1.5.1.3 for sure. You're welcome to download and try it on any other versions, but no guarantees. If you want it to work on your "Latest Product" module, you must leave that file as "latest.tpl" as Opencart is referencing it as a TemPLate file. When you say it doesn't work, do you mean that it doesn't work on the latest module and is still showing it as "Add to Cart"?

picstart,
I looked into changing the color of the button (very briefly) and I didn't get anywhere. Perhaps someone with more experience than myself will know how to change this (if possible).

Marcus,
Just open the mod up in Notepad and look for the text "Out of Stock" change it to whatever you like!

Why is related product showing "Out of stock" as well

Posted: Thu Jan 05, 2012 8:29 pm
by shjuan85
Hello, I am using opencart 1.5.1.3, downloaded "Hide_atc_for_out_of_stock.xml", everything goes fine except that I find that "Related products" show "Out of Stock" status as well, kindly refer to "http://breathe.com.sg/cart/index.php?ro ... uct_id=55", kindly advise, thanks! :D

Re: Why is related product showing "Out of stock" as well

Posted: Mon Jan 09, 2012 3:02 pm
by shjuan85
shjuan85 wrote:Hello, I am using opencart 1.5.1.3, downloaded "Hide_atc_for_out_of_stock.xml", everything goes fine except that I find that "Related products" show "Out of Stock" status as well, kindly refer to "http://breathe.com.sg/cart/index.php?ro ... uct_id=55", kindly advise, thanks! :D
I found the answer :)

Re: [vQmod] Hide AddtoCart for Out of Stock Products

Posted: Wed Jan 18, 2012 4:15 am
by merrydukaan
all .xml-ers, thanks a tonne!

Re: Why is related product showing "Out of stock" as well

Posted: Fri Jan 20, 2012 11:55 pm
by olimax
shjuan85 wrote:
shjuan85 wrote:Hello, I am using opencart 1.5.1.3, downloaded "Hide_atc_for_out_of_stock.xml", everything goes fine except that I find that "Related products" show "Out of Stock" status as well, kindly refer to "http://breathe.com.sg/cart/index.php?ro ... uct_id=55", kindly advise, thanks! :D
I found the answer :)
shjuan85 - what was the answer?
I am getting out of stock on Related Products when they are not