New Attribute Manager Released..
#1
Posted 01 April 2003 - 04:41 AM
Most of my clients have, at one time or another, griped about the OS Commerce attribute management. I recently looked through the contributions, but didn't see any mods to the attribute management... maybe I missed them *shrug*.
So, I decided to spend some of my time making a contribution for this shopping cart. If you are currently using the orginal attribute management I think you owe it to yourself to give this contribution a shot.
The only original OS Commerce file that was edited is /admin/includes/boxes/catalog.php .. so it doesn't take very long at all to complete the installation.
Here's the link: http://www.oscommerce.com/community/contri...ons,1119/page,8
I appreciate any pos/neg comments.. and if there's a demand for it I will continue the public development. Currently, I have this mod working on around 27 live sites.. and I have 27 very happy clients
Enjoy.
*Accidentally posted under Features the first time.. sorry for the double-post
EDITED: *poof* ... Thanks, Linda
#2
Posted 01 April 2003 - 04:59 AM
#3
Posted 01 April 2003 - 05:31 AM
#4
Posted 01 April 2003 - 05:34 AM
2 This is the error I get on the Edit:
Quote
Unknown column 'products_options_type' in 'where clause'
#5
Posted 01 April 2003 - 05:56 AM
I had recieved an email from someone having problems with multiple entries in the drop-down menu.. didn't even think of the languages causing the problems.
I'm pretty sure this package is *fully functional* : http://www.oscommerce.com/community/contributions,1119
#6
Posted 01 April 2003 - 06:27 AM
My Mouse now has about 24 attributes ... :shock:
You may want to set up a clean cart and try this with the multiple languages. The edit page is showing a lot of things I don't believe you intended and adding the little fellows to the table.
Getting there ...
#7
Posted 01 April 2003 - 08:01 AM
Lets try this one more time
#8
Posted 01 April 2003 - 08:06 AM
#9
Posted 01 April 2003 - 08:21 AM
I do not have duplicates and I was able to delete all the attributes from the Mouse via phpMyAdmin
Then ... I re-added them your's and everything appears to have gone in correctly.
I also seem to have all 3 languages correct for the attributes.
I will have to fool with this more to see if there are any quirks, but I think you got them all. Thanks!
#10
Posted 01 April 2003 - 08:24 AM
Quote
What version of OSC are you using, and have you performed any modifications on the cart?
A possibility is that your server is running an older version of PHP.. in which case you may try the following:
1. Open new_attributes_change.php
1a. on line 20 replace:
$value_price = $_POST[$optionValues[$i] . '_price'];
with:
$value_price = $HTTP_POST_VARS[$optionValues[$i] . '_price'];
1b. on line 22 replace:
$value_prefix = $_POST[$optionValues[$i] . '_prefix'];
with:
$value_prefix = $HTTP_POST_VARS[$optionValues[$i] . '_prefix];
That may solve your problem.. I used $_POST without taking into consideration that some people are still running pre 4.1 PHP.. sorry if that's the cause of your problems :twisted:
#11
Posted 01 April 2003 - 08:32 AM
Quote
I do not have duplicates and I was able to delete all the attributes from the Mouse via phpMyAdmin
Then ... I re-added them your's and everything appears to have gone in correctly.
I also seem to have all 3 languages correct for the attributes.
I will have to fool with this more to see if there are any quirks, but I think you got them all. Thanks!
Nice
I was being a tad lazy at first and really didn't want to take the *~15 minutes* to set up 2.2MS1 for testing... lesson learned
#12
Posted 02 April 2003 - 02:11 PM
#13
Posted 02 April 2003 - 04:06 PM
If youre planning to develop this further here are some suggestions:
Text in language files.
Add sort and weigth values from lindas contribution.
Maybe not a seperate page but a pop-up from product page.
#14
Posted 02 April 2003 - 09:59 PM
Quote
If youre planning to develop this further here are some suggestions:
Text in language files.
Add sort and weigth values from lindas contribution.
Maybe not a seperate page but a pop-up from product page.
Thanks Matti.
I have a lot of cleaning up & streamlining planned, but I first wanted to make sure that this contribution was something that people could actually use and enjoy before I start spending more and more time on it. Judging by the emails that I've received regarding this contribution it seems that a lot of people are already using it and seem fairly content... and a lot of great suggestions have been submitted that I can work on.
It was brought to my attention that the Option Values weren't being displayed in the order in which they were created.. problem fixed v3.1:
http://www.oscommerce.com/community/contri...ons,1119/page,8
IMO this contribution is very easy to install - it only requires you to edit one of the OSC files.
#15
Posted 04 April 2003 - 09:42 AM
I already have the Alternative Attributes mod and am pretty happy with that. But I would change if this one is easier still. Can you post a screen shot of the Admin or something?
thanks
Jen
#16
Posted 04 April 2003 - 03:26 PM
Here's a couple of screenshots:
1. Select Product to edit:
[img]http://66.76.35.232/attribute1.gif[/img]
2. Edit product attributes:
[img]http://66.76.35.232/attribute2.gif[/img]
I'm already working on quite a few more features for this contribution, but it will be a couple more weeks before I can post another release.. stay tuned
#17
Posted 07 April 2003 - 11:52 PM
It does not seem to update anything. I check the boxes and add the amount it should be and include the + or - sign.
But when I come back to check it nothing has been changed. It is back to 0.
What have I done wrong?
I am using 2.2 ms1. My provider has php 4.0.6 so I replaced the lines that were mentioned earlier but made no difference.
Thanks for your help in advance.
Rick
#18
Posted 08 April 2003 - 03:30 AM
#19
Posted 08 April 2003 - 08:03 PM
Thank you for a great contribution. Do you know offhand if the Attribute Manager will work with Product Attributes - Option Type Feature?
Thank you.
#20
Posted 09 April 2003 - 12:51 AM
http://downloads.ephing.com
I will keep the latest release posted there *with notes* so it's available all the time.
Anni0 - Yes, my contribution does work with the Option Type Feature
Wayne Luke - Check the latest release and see if the added feature satisfies your request
disciple1 - Hmmm.. I can't seem to figure out exactly what the source of your problem is. I'm wondering if anyone else is having this problem - if so then I'd know for sure that it's something that I did wrong.









