Page 2 of 3

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Sun Aug 07, 2011 3:52 pm
by ThExSenatoR
Unfortunately neither of the two xmls are working for me. Using Opencart 1.5.1.1. Keep up the good work :)

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Sun Aug 07, 2011 10:36 pm
by Qphoria
As i said.. 1.5.x hides out of stock ones by default.. so automatically the "Remove" works by default without any xml
I will update the "Disable" one to work for 1.5.x

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Mon Aug 08, 2011 10:10 pm
by ThExSenatoR
No it doesn't, at least not for me. I can put product into cart if the status is out of stock. :(

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Wed Aug 10, 2011 7:55 am
by OnNets
Hi Q,

I manage to get "hide atc" mod to work. But it is in product page. Can I have the xml file for category & latest?

Thanks

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Sun Aug 14, 2011 3:28 am
by grgr
shawtham wrote:Yes, something got to do with the controller/product/product.php

Code: Select all

foreach ($option['option_value'] as $option_value) {
			if (!$option_value['subtract'] || ($option_value['quantity'] > 0)) {
However, programming is not my talent... I just can't get it to work for ($option_value['quantity'] = 0)....

You need to remove that line:

if (!$option_value['subtract'] || ($option_value['quantity'] > 0)) {

and the closing brace.

It does then work.

What effect removing that line has on anything else or any other mods etc, I have no idea.

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Tue Sep 06, 2011 4:35 pm
by hebiki
OnNets wrote:Hi Q,

I manage to get "hide atc" mod to work. But it is in product page. Can I have the xml file for category & latest?

Thanks
i am interested in this mod as well.

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Fri Sep 09, 2011 5:57 pm
by snappyfish
This mod is great, But is it possible to show the out of stock item that's show n grey and disabled to enabled to with say (pre-order) next to the option.

Some items I sell have a big launch date and customers like to "pre - order"

Thanks.

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Thu Sep 15, 2011 4:34 am
by snappyfish
I have just noticed, If I browse to my site via my iPhone using safari browser I am able to select options that are disabled by this mod and add them to the cart?

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Fri Sep 16, 2011 8:59 pm
by amboss
Thanks a lot for this mod, works for 1.4.9

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Mon Jan 23, 2012 1:54 am
by GoGo OpenCart
snappyfish wrote:This mod is great, But is it possible to show the out of stock item that's show n grey and disabled to enabled to with say (pre-order) next to the option.

Some items I sell have a big launch date and customers like to "pre - order"

Thanks.
Take a look at this module:

http://www.opencart.com/index.php?route ... on_id=4468

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Fri Feb 17, 2012 1:33 pm
by Chris!
Hello Q!

I installed the VQMod manager (1.0.1) and these two mods. I see them listed there, all is well.
However, it seems I would have to get somewhere to set options?! I can not find where. I can't click in the manager, I don't have additional options on the systems -> store -> options page or on the product pages.

Now when I set a products quantity to zero. It is not disabled, or removed from the store... It remains fully optional/ shown.

Am I doing something wrong here?! I have cleared browser-cache, temps and cookies, but to no evail.

Also, I read the statement that version 1.5.1.3 will automatically hide products not in stock, but thats not the case for me. If items are not in stock, they are listed and it's even possible to add them to the cart, where only on the check-out page a warning is shown. But let's not drift off. LOL.

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Sun Mar 04, 2012 8:57 am
by josee225
HI!! This works great, thanks!

I there anyway it can be adapted for all views where the add to cart button is showing?

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Sun Mar 04, 2012 9:54 am
by Qphoria
josee225 wrote:HI!! This works great, thanks!

I there anyway it can be adapted for all views where the add to cart button is showing?
There should be no need. It hides options.. options are only on the product page

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Sun Mar 04, 2012 10:14 am
by josee225
Sorry I should have mentioned I used the "hide atc button" mod :)

I don't have options, but it works wonders for my out of stock products!

** Edit! My mistake, I am using hide_atc_for_out_of_stock.xml which has nothing to do with this mod, I was in the wrong post ::)

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Sat May 26, 2012 2:41 am
by wbunny
Is it possible to get this to work with Option Boost?

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Wed May 30, 2012 3:05 am
by securition
snappyfish wrote:I have just noticed, If I browse to my site via my iPhone using safari browser I am able to select options that are disabled by this mod and add them to the cart?
I have the same issue. Did you find a solution? If not I'm looking into it now and will post my findings.

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Sat Nov 17, 2012 2:36 pm
by terrabyte911
Initially the xml didn't work for me (oc 1.5.3.1)

I changed the line in the xml

Code: Select all

	<file name="catalog/view/theme/default/template/product/product.tpl">
to

Code: Select all

	<file name="catalog/view/theme/*/template/product/product.tpl">
Now works well, thank you,

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Sat Jul 26, 2014 4:40 am
by spdavis
This is a brilliant mod
!!
But...

It seems in my copy of OC which is ver 1.5.4 on a default theme (template), I have the following experience--

Out of stock on single (colour) option. Set to 'zero', 'out of stock' etc. Colour option in drop down hidden. Perfect..

Out of stock in one of two (colour) options. Zero stock etc. and option for that colour is hidden. So far, brilliant!

Select the second but alternative colour available from drop down menu option, add this to cart. It adds. Now go to shopping cart list.
Eeeerm... It says out of stock *** red bar and generally stopping the transaction.

If the alternative colour option IS in stock, should I with this vQmod, be able to continue to buy or not?

Is this a weakness of this mod, or bug, or something else? Does anybody know which it is. Or a way to resolve. Or if there's an extension that does the same job?

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Wed Dec 24, 2014 8:52 pm
by jaapdeknaap
Hi All,

This is almost what i'm looking for, it's works on the product page and hides the option that are not available.
But is it's possible that also your filter looks of the option is sold out, and hides it?

I'm trying to set up a shoe store, and would like to have that the clients can search on shoe size. And see only the one that are available in their size selected.

I hope it's clear what I'm trying to say.
Using O.C. 1.5.6.4. Journal2 theme.

It's driving me mad :crazy:
Merry Christmas to you all..

David

Re: [vQmod] - Disable/Remove out of stock product options

Posted: Fri Apr 03, 2015 12:17 pm
by srisastry
ITS NOT WORKING WITH VQMOD 2.4.1 and OPENCART 2.0.2.0. Please show me the solution/