Re: Quantities of items with attributes are incorrect, how to fix?
Thanks Potteryhouse!
I should have known re #1, oops; that's working well now. I did set the sort order via Options Name Manager, but it's trying to alphabetize them instead. I just changed the names so their alpha order matches the order in which I want them to appear. Found the css styles that control the labels and was able to get them to look more or less the way I want.
Take care, have a wonderful New Year!
Magz
Quote:
Originally Posted by
potteryhouse
(1) The qty display on the page was not changes, you will need to turn it back on in the "Configuration -> Stock" page in admin.
When you run the installation script it resets all the display flags to false.
(2) You control the Option order by the setting the applicable "Sort Order" in the "Catalog ->Options Name Manager" Product Options page in admin.
(3) I think the layout alignment you mentioned is a template thing you will have to adjust to make it look as you need, the file to work with is:
\includes\templates\YOURTEMPLATE\templates\tpl_product_info_display.php
1 Attachment(s)
Attribute drop-downs showing html as well as price differential
I am running Zen Cart v1.5.1 and just installed Stock by Attribute v1.5.2 and now my attribute selection drop-downs contain html as well as the price differential. See pic:
Attachment 13638
I have not seen anything about this error in this thread. How do I fix this?
Mal
Re: Attribute drop-downs showing html as well as price differential
Quote:
Originally Posted by
Malaperth
I am running Zen Cart v1.5.1 and just installed Stock by Attribute v1.5.2 and now my attribute selection drop-downs contain html as well as the price differential. See pic:
Attachment 13638
I have not seen anything about this error in this thread. How do I fix this?
Mal
This was noticed previously, and is fixed in the new version under TEST.
I would like to get more feed back before posting to the plugins.
In the mean time, you can use the guidance here:
http://www.zen-cart.com/showthread.p...37#post1225837
or the new test version:
http://www.zen-cart.com/showthread.p...02#post1231102
Let us know how it works for you.
Re: Attribute drop-downs showing html as well as price differential
Quote:
Originally Posted by
potteryhouse
The programatic fix in attributes.php worked fine, thank you very much! And thank you for making/updating/fixing this plugin, it is a lifesaver!
The link to your new version does not work, however and I would be more than happy to try it if I can get it.
Also, I am having another problem although I can't say for sure it has to do with Stock by Attribute, but it did not show up until I installed it. Every product I have that has attributes and claims to set the quantity to 1 says out of stock when added to the shopping cart. In the product definition page, it says quantity 1 and lists quantity 1 on the page shown to the public. I did notice something odd when I initially added the attributes. It changed the quantity to 1+eo6 I believe it was and that was what was initially displayed. Sorry, but I'm old and may be a bit senile, but I can't remember if I changed the amount manually or it changed while editing the product again. However, I cannot get the product to add to the shopping cart without the out of stock error. And, what's worse, I can't even remember what/where I looked to attempt to fix it. I know I didn't change anything, just searching.
Mal
Re: Attribute drop-downs showing html as well as price differential
Quote:
Originally Posted by
Malaperth
The programatic fix in attributes.php worked fine, thank you very much! And thank you for making/updating/fixing this plugin, it is a lifesaver!
The link to your new version does not work, however and I would be more than happy to try it if I can get it.
Also, I am having another problem although I can't say for sure it has to do with Stock by Attribute, but it did not show up until I installed it. Every product I have that has attributes and claims to set the quantity to 1 says out of stock when added to the shopping cart. In the product definition page, it says quantity 1 and lists quantity 1 on the page shown to the public. I did notice something odd when I initially added the attributes. It changed the quantity to 1+eo6 I believe it was and that was what was initially displayed. Sorry, but I'm old and may be a bit senile, but I can't remember if I changed the amount manually or it changed while editing the product again. However, I cannot get the product to add to the shopping cart without the out of stock error. And, what's worse, I can't even remember what/where I looked to attempt to fix it. I know I didn't change anything, just searching.
Mal
This link will bring you to the post that has the file to download (Post 1790):
http://www.zen-cart.com/showthread.p...02#post1231102
The file name / download is:
stock_by_attribute_1.5.X_TEST_3.zip
There are a number of changes, some of them affect the very thing you described above, the out of stock issue "might" be related to how you entered the products in the SBA stock page. this version under test handles many variations of product entries, but since it is a test version I suggest you try it before adding too many products.
You can turn off the out of stock warning in the "configuration -> stock" page, it is one of the switches, the switches are explained in the instructions provided with the version 1.5.2.
Re: Attribute drop-downs showing html as well as price differential
Quote:
Originally Posted by
potteryhouse
This link will bring you to the post that has the file to download (Post 1790):
http://www.zen-cart.com/showthread.p...02#post1231102
The file name / download is:
stock_by_attribute_1.5.X_TEST_3.zip
There are a number of changes, some of them affect the very thing you described above, the out of stock issue "might" be related to how you entered the products in the SBA stock page. this version under test handles many variations of product entries, but since it is a test version I suggest you try it before adding too many products.
You can turn off the out of stock warning in the "configuration -> stock" page, it is one of the switches, the switches are explained in the instructions provided with the version 1.5.2.
I'm using IE9, and I'm assuming it's another wonderful "feature" of another wonderful Microsoft product (which I consider viruses, but I'm a bloody sheep and use it) and when I click on either of those links I am brought to literally a blank page. The page is so blank, I can't even right-click on it to view source... I love my life... I'll try another browser and see what happens...
Mal
Re: Attribute drop-downs showing html as well as price differential
Quote:
Originally Posted by
Malaperth
I'm using IE9, and I'm assuming it's another wonderful "feature" of another wonderful Microsoft product (which I consider viruses, but I'm a bloody sheep and use it) and when I click on either of those links I am brought to literally a blank page. The page is so blank, I can't even right-click on it to view source... I love my life... I'll try another browser and see what happens...
Mal
I was able to download the zip with Google Chrome, but now Windows Vista claims it doesn't know what to do with a zip file. Again... I love my life... Time for a reboot and maybe a Military grade disk wipe and complete reinstall. I LOVE MY LIFE!!!
Thank you very much for your efforts to this community. I only wish I could remember half of the things I used to know so I could contribute something more than whining about issues that I should be able to fix by myself, but alas, my mind has failed me as my body has and I'm rather useless except that I can spell PHP. Other than that, I'm pretty much a lesion on society.
I will install the new files and hopefully do it correctly and not leave any 'leftovers' to cause issues. Thanks again for helping me I really appreciate it!
Mal
Re: Attribute drop-downs showing html as well as price differential
Quote:
Originally Posted by
Malaperth
I was able to download the zip with Google Chrome, but now Windows Vista claims it doesn't know what to do with a zip file. Again... I love my life... Time for a reboot and maybe a Military grade disk wipe and complete reinstall. I LOVE MY LIFE!!!
Thank you very much for your efforts to this community. I only wish I could remember half of the things I used to know so I could contribute something more than whining about issues that I should be able to fix by myself, but alas, my mind has failed me as my body has and I'm rather useless except that I can spell PHP. Other than that, I'm pretty much a lesion on society.
I will install the new files and hopefully do it correctly and not leave any 'leftovers' to cause issues. Thanks again for helping me I really appreciate it!
Mal
Reading between the lines, it sounds to me you know much more than you let on!
Windows Vista was a bit of a pain... I use 7-Zip on all my PCs to deal with zip files, it works well for me.
http://www.7-zip.org
I also use Beyond Compare to merge files and look at differences, just in case you need something like that, you could also look at winmerge.
http://www.scootersoftware.com
http://winmerge.org
Re: Attribute drop-downs showing html as well as price differential
Quote:
Originally Posted by
potteryhouse
Reading between the lines, it sounds to me you know much more than you let on!
Windows Vista was a bit of a pain... I use 7-Zip on all my PCs to deal with zip files, it works well for me.
http://www.7-zip.org
I also use Beyond Compare to merge files and look at differences, just in case you need something like that, you could also look at winmerge.
http://www.scootersoftware.com
http://winmerge.org
Everything was fine once I actually rebooted this Winblows pig and cleared whatever program is causing the memory leak (still can't identify it yet). I have a compare program, but I don't think it merges, so I will take a look at the scootersoftware prog. Anything with 'win' in it makes my sphincter tighten beyond normal so I try to avoid them. :yuck: :P
Again, I appreciate all the effort you are puttin into this for free. I tried Magento because it was recommended by my hosting provider as a 'user friendly, easy to set up, free full ecommerce platform'. Other than 'full ecommerce platform' the rest is horse hockey... It's about as user friendly as poison ivy in your shorts. It took me two months of agony and multi-multiple calls to tech support just to find out that in order to make my site work, the tech people would have to rewrite my entire theme installation along with many core files. Magento is a bloated piece of garbage that I'm surprised that eBay allows to stay alive (well except if you buy the Enterprise edition, then they bend over backwards to help you and you get a separate version without all the hundreds of literally duplicated files located in about 30 different places in the code). I found Zen Cart, and in a few days had damn near a fully functional ecommerce site. The things that were lacking were things that needed to be produce on our end (product images, text for various items and pages etc), but Zen Cart should be called God Cart or something like that. Well, enough babbling from an old fool. I got a LOT more than I paid for (yup, that's right, NOTHING) when I found Zen Cart. It's the best thing I've found since my wife! Ok... I'm gonna shut up now...
Mal