vatikanavenue Posted June 2, 2005 Posted June 2, 2005 Im selling clothes.. so I desperately need the contrib that allows users to pick the color + size before buying. I began installing this contribution and found out it was wayyyy more complicated that I feel comfortable with at the moment (learning .php). So i went back and 'un-installed' the things I had began installing, except for the two tables that were created in mySQL. When I try to add a product attribute now, it returns this stranger error: 1136 - Column count doesn't match value count at row 1 Any ideas? I know it's a simple fix because I didn't know change much before deciding to turn around. I do not have much done to the site and was wondering if I could start anew from the beginning if this problem wasn't fixed? I hope with the minds of all, we can fix this problem though. Thanks in advance - Josh I'm eager to learn this stuff!!!
Dada1 Posted June 2, 2005 Posted June 2, 2005 You just need to set up your attributes which isn't a contribution it is already part of OSC. You just need to set them in the admin panel. If you have no other contributiuons, then just upload the a fresh file/s that you had edited and you should be good.
vatikanavenue Posted June 2, 2005 Author Posted June 2, 2005 I uploaded a new/clean product_attributes.php file and that helped nothing. I am going to delete the custom attributes I made through the admin panel and re-enter them.
Dada1 Posted June 2, 2005 Posted June 2, 2005 Is the product_attributes.php you uploaded part of the contribution you installed? You need to upload a fresh file/s from the stock OSC and not the contribution for all the files you edited. You don't need a contribution to do what your trying to do.
vatikanavenue Posted June 3, 2005 Author Posted June 3, 2005 I want the customer to be able to choose the size and color upon checkout, that is not the way OSC comes orginally is it? I downloaded a contrib. that allows this, but I dont' feel comfortable installing it just yet. Do I need to delet the file from MyShell3 before uploading the new/clean one?
vatikanavenue Posted June 3, 2005 Author Posted June 3, 2005 I really dont' get this.. how come the folders and files I downloaded (OSC2.2ms) are not the same as the ones on WebShell3?? There is no folder named Catalog/Admin on WebShell.
Dada1 Posted June 3, 2005 Posted June 3, 2005 I want the customer to be able to choose the size and color upon checkout, that is not the way OSC comes orginally is it? I downloaded a contrib. that allows this, but I dont' feel comfortable installing it just yet. Do I need to delet the file from MyShell3 before uploading the new/clean one? <{POST_SNAPBACK}> Yes osC comes with the ablility to do this through the admin>catalog>product attributes. You just need to assign them. You can delete all the ones that are there by default and enter your own. This page should shead some light on the issue. http://www.oscommerce.info/kb/osCommerce_D..._Attributes/152 As far as uploading new files. You can overwrite the osC files with a stock osC file. Then then non-osC files that are part of the contribution just delete it.
Dada1 Posted June 3, 2005 Posted June 3, 2005 I really dont' get this.. how come the folders and files I downloaded (OSC2.2ms) are not the same as the ones on WebShell3?? There is no folder named Catalog/Admin on WebShell. <{POST_SNAPBACK}> That is not a good thing, but you assign the attributes from the Admin Control panel of your osC not your file manager.
vatikanavenue Posted June 3, 2005 Author Posted June 3, 2005 Dada1, that's how it came originally. When I first went looking for files I noticed that it was different. Can you get to a located named Catalog/Admin on your site?
Dada1 Posted June 3, 2005 Posted June 3, 2005 In my file manager? Yes I can. Did you install this software or did it come as a package with your hosting provider.
vatikanavenue Posted June 3, 2005 Author Posted June 3, 2005 Came as a package with HostExcellence.com.
Dada1 Posted June 3, 2005 Posted June 3, 2005 There is your problem. You need to contact them or if your allowed to upload and create files then you need to download a fresh install of osC and upload it with a FTP and follow the instructions of osC to install it.
vatikanavenue Posted June 3, 2005 Author Posted June 3, 2005 Ok, I plan to do that. I called my hosting service and they fixed it for me. I still need to do the fresh install though. I do have a question about the product attributes. Lets say that I have "2" pair of 32x32 jeans and "0" pair of 32x30. How can I let the customer know if he chooses 32x30 that they are currently sold out? I found out how to get the size and color options on the product page, but how can you specify how many of each size or color you have?
Dada1 Posted June 3, 2005 Posted June 3, 2005 That you will need the a contribution for. It is called QTY or QT pro of something like that. It might be a little complicated for someone just starting out as it has a lot of steps. I wrote a small code that when someone clicks a certain attribute that is sold out it will flash a gif image up stating this product is temporarly sold out and wont allow the customer to purchase it. I will have to find it again as I had put it on one of my clients sites.
vatikanavenue Posted June 3, 2005 Author Posted June 3, 2005 That would be awesome if you could pass that on to me. I may not isntall it soon since I plan to learn more about the coding/language of the store first. I hate not knowing the information, but it's so much to learn in total. Thank you very much for the help thus far. I'll hook you up with some clothes lol.
Dada1 Posted June 3, 2005 Posted June 3, 2005 Not a problem, just shoot me a PM when your ready for it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.