Post by Qphoria » Thu Feb 24, 2011 4:32 am

As the title says.
if a product has 0 quantity, it changes the "Add to Cart" button to "Out of Stock" and makes it non-clickable
Updated to add 1.4.x and 1.5.x and 1.5.2+ support
Will work with 1.5.5.1 now

Added 2.x version

Attachments

2.x support

1.4.x, 1.5.x and 1.5.2+ support


Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by CJS » Thu Feb 24, 2011 9:48 am

I'm a very new OC user.
How do I install or make use of this mod.
Thanks.

CJS
Newbie

Posts

Joined
Sun Dec 19, 2010 12:02 pm

Post by Ion_Cannon » Thu Feb 24, 2011 11:59 am

CJS wrote:I'm a very new OC user.
How do I install or make use of this mod.
Thanks.
Did you see this thread?

http://forum.opencart.com/viewtopic.php?f=23&t=24529

It should have the answers you are looking for.

New member

Posts

Joined
Fri Jan 28, 2011 11:11 am

Post by tez_a » Thu Mar 24, 2011 5:37 am

We have got this mod working, but wondered how easy it would be to also remove the "+" on the catagory page for out of stock items?

We are still fairly new to OC and only just installed the vqmod , any help greatfully received

Thanks!

Newbie

Posts

Joined
Thu Mar 24, 2011 5:35 am
Location - Chorley, Lancashire

Post by Ljubo » Thu Mar 24, 2011 4:04 pm

Hi,
yes, the mod is now working for me also.

However, I was wondering if this mod could be developed more in terms of hiding AddtoCart for products variations ('option') as well?
For example, I have the same product model, with the same prices, but of different colours.
Often, not all colour variations are on stock all the time.

So, if the variation of the product chosen, the add-to-cart should be changed to Out-of-Stock when the buyer tries to buy it. And not get into the basket.

Best,
Ljubo

Active Member

Posts

Joined
Mon Jan 31, 2011 10:07 pm
Location - Serbia

Post by Qphoria » Tue Mar 29, 2011 3:17 am

Ljubo wrote:Hi,
yes, the mod is now working for me also.

However, I was wondering if this mod could be developed more in terms of hiding AddtoCart for products variations ('option') as well?
For example, I have the same product model, with the same prices, but of different colours.
Often, not all colour variations are on stock all the time.

So, if the variation of the product chosen, the add-to-cart should be changed to Out-of-Stock when the buyer tries to buy it. And not get into the basket.

Best,
Ljubo
Another method I think might be better would be to simply disable the option when out of stock so that it can still be seen but is grayed out and nonselectable

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by paddybag » Wed May 04, 2011 4:19 am

Qphoria wrote: Another method I think might be better would be to simply disable the option when out of stock so that it can still be seen but is grayed out and nonselectable
Hi Qphoria,
Excellent work for everything you have done here. Could you elaborate on how you would disable the option on the fly or would it have to be a manual job?

Im using Version 1.4.9.4

Thanks,
Paddy

Newbie

Posts

Joined
Sun May 01, 2011 9:14 pm

User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by dane » Tue Jul 12, 2011 8:04 am

Any chance you can make this work with 1.5.0.5? Thanks!!

Bada Forums


Newbie

Posts

Joined
Tue Jul 12, 2011 8:03 am

Post by ripper » Thu Jul 21, 2011 7:07 pm

dane wrote:Any chance you can make this work with 1.5.0.5? Thanks!!
And for 1.5.1? ;)

Thanks!

New member

Posts

Joined
Wed Jul 06, 2011 4:37 am

Post by chadelkins » Sat Jul 30, 2011 2:31 am

I would also love a 1.5.1 version! Thanks! BTW ... the VQMod manager is great!

Newbie

Posts

Joined
Thu Jul 28, 2011 9:16 pm

Post by SXGuy » Sat Jul 30, 2011 5:19 am

Qphoria wrote:As the title says.
if a product has 0 quantity, it changes the "Add to Cart" button to "Out of Stock" and makes it non-clickable
Nice mod, i recently done this to include another bit.

If quantity is -1 then the button changes to redirect to the contact page and the text changes to availible on request :)

Active Member

Posts

Joined
Sun Nov 08, 2009 2:07 am

Post by Klimskady » Wed Aug 03, 2011 4:06 am

Another vote here for this to be updated when at all possible.

Active Member

Posts

Joined
Tue Jun 07, 2011 7:57 am

Post by grido » Wed Aug 17, 2011 3:34 am

+1 would like this very much :)

Newbie

Posts

Joined
Wed Aug 17, 2011 3:32 am

Post by Qphoria » Wed Aug 17, 2011 4:24 am

updated file in first post to support 1.5.x

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by chadelkins » Wed Aug 17, 2011 4:56 am

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

Newbie

Posts

Joined
Thu Jul 28, 2011 9:16 pm

Post by Qphoria » Wed Aug 17, 2011 5:00 am

it never did. I'll see about adding it

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by chadelkins » Wed Aug 17, 2011 5:05 am

Right on! Thanks!

Newbie

Posts

Joined
Thu Jul 28, 2011 9:16 pm

Post by DawgBones » Mon Sep 05, 2011 1:29 am

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
This is the same feature we are looking for! So far, the VQmod works great for products though. +1!

Newbie

Posts

Joined
Mon Sep 05, 2011 1:25 am

Post by mwd » Thu Sep 08, 2011 12:01 pm

Hi Q,

This is a great vQmod.

I have a question about expanding this for another purpose mentioned in this thread, http://forum.opencart.com/viewtopic.php ... 5&p=194113

Basically, the idea in the other thread is to hide the item price from the default group by replacing the visible price with text (ie: "Wholesale Only") when the price is set to 99999.

It would be nice to combine that text change with the disabling of the add to cart button in this vQmod.
The final outcome would be to make a wholesale restricted product while keeping the product visible, but hiding the price and keeping it from being added to the cart by default group customers.

Use it? Like it? Want to support it but don't know how? Send a donation to show your appreciation.
Daniel's PayPal address - donate@opencart.com
Qphoria's Paypal address - qphoria@gmail.com


mwd
Active Member

Posts

Joined
Sat Jan 08, 2011 11:40 pm
Who is online

Users browsing this forum: No registered users and 7 guests