Apologies if I'm stating the obvious :)Originally Posted by buzzville
But for products with atttributes and units of .5 yards...
if you have 10 yards, then you need to state that you have 20 of the item...
Apologies if I'm stating the obvious :)Originally Posted by buzzville
But for products with atttributes and units of .5 yards...
if you have 10 yards, then you need to state that you have 20 of the item...
Live again! http://spritelygoods.com Rebuilt on ZC v 1.5.1 from 1.3.0.2
is the quantity field in the database set to int or float ? int requires whole numbers, whereas float allows decimals of varying precision
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
*applause* Thank you DrByte! That seems to have done the trick! Thanks for helping those with zero skills to figure this stuff out!Originally Posted by DrByte
Originally Posted by MikeyG
Sorry to bounce but would really like some one to explain how this works so I can use it in other ways to manage stock.
Thanks
MG
Hey all!
I'm just about to upgrade my ZC from 1.2.7 to 1.3.0.2.
Everything has been running smoothly but now I've met some hard resistance.
I've downloaded this contrib and installed it without any problems.
But now it fetches ALL attributes on each product who has attributes.
As far as I can see the package is missing attributes_controller.php
Am I right? Anyone who could supply me with the file?
http://www.moto-x.se - ZC 1.3.6
That should be "main_template_vars_attributes.php"Originally Posted by Svanis
http://www.moto-x.se - ZC 1.3.6
Hi Bunster,Originally Posted by Bunster
I'm having the same problem and tried this fix, but it's still not working for me... I can either get the insufficient stock message for products with attributes or products without, but not both at the same time. Is this still working for you? I'm starting to think this mod is hurting me more than it's helping me...
try my fix on previous post within the same thread; http://www.zen-cart.com/forum/showpo...7&postcount=39Originally Posted by buzzville
[FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT][FONT=Comic Sans MS]GOOD LUCK !!![/FONT]
Hi Buzzvile,
yes as tajul_ashyqin said you will need to add that piece of code as well.
But it still will not display your available stock so your customers will have to guess the magic number for available stock.
To be honest I have now given up trying to get this to function as I want it to and am now looking for alternatives.
I believe this functionality will be in ZCv1.4 but it'll be a while before that see's the light of day, the dev team have more than enough on their plate to be getting on with so no point in pestering them.
good luck
Bunster
Thanks Tajul_ashykin and Bunster. It was the functions_lookup.php file that was the trick. I kept changing one section of code, but missed a second section that did the trick. Now the low stock message is working for both types of stock... I just need to pay a little more attention! Now to see if I can figure out how to get the quantities to show...
Bookmarks