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
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
1.4.x, 1.5.x and 1.5.2+ support
Did you see this thread?CJS wrote:I'm a very new OC user.
How do I install or make use of this mod.
Thanks.
http://forum.opencart.com/viewtopic.php?f=23&t=24529
It should have the answers you are looking for.
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!
We are still fairly new to OC and only just installed the vqmod , any help greatfully received
Thanks!
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
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 nonselectableLjubo 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
Hi Qphoria,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
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
Nice mod, i recently done this to include another bit.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
If quantity is -1 then the button changes to redirect to the contact page and the text changes to availible on request
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
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!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 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.
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
Who is online
Users browsing this forum: No registered users and 2 guests