Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Shirt Sizes to Product Listing


demogoria

Recommended Posts

Hey hey everybody. This seems like a simple task, but not sure how to accomplish it.

 

I am not completely sure how this works, but I am selling shirts, hoodies, long sleeves, hats, etc. If there is a product available in multiple sizes, I would like to display a drop-down list of the sizes in the product listing before they hit ADD TO CART so they can choose the size they want.

 

I understand that I can modify the products "attributes" to get the list, but that only displays in the product_info.php which I will NOT be needing. I want the drop-down list that appears THERE to be listed on the listing page.

 

Furthermore, lets say I want to keep up with how many S, M, L and XL shirts I have of each product. Does it handle that?

 

Are there any contributions out there? It's hard to weed through all of those. We have so many talanted people out there!

 

Anyway, thanks a bunch for any help.

Link to comment
Share on other sites

I did that for a customer and the idea is as follow:

 

Start by doing it the usual way from admin, this way osc generate the code and the sql tables necessary, your role will be to copy that code wherever you want it appear.

 

Regards,

 

Nacer.

Link to comment
Share on other sites

That was my problem actually. That wouldn't be a problem but the attributes are not listed in the product listing admin section. I only have image, manufacturer, model, name, price quantity, weight, buy now column, display cat filter, and location of prev next bar. Has there been a more recent version that lists more?

Link to comment
Share on other sites

What Nacer was suggesting was that you find the relevant bit of code in product_info.php, and copy and paste it into the file where you want the drop downs displayed (somewhere in index.php, if you can get it to work). Also there is a contrib that adds inventory management to attributes, might be qtpro if I remember correctly.

 

Jeremy

Link to comment
Share on other sites

What Nacer was suggesting was that you find the relevant bit of code in product_info.php, and copy and paste it into the file where you want the drop downs displayed (somewhere in index.php, if you can get it to work). Also there is a contrib that adds inventory management to attributes, might be qtpro if I remember correctly.

 

Jeremy

 

I was looking into this as well and I could not find anything, but I did copy my products and made use EP to make it easier to upload a lot of products. I also found later on that it worked better to have it loaded as different items so that I can keep track of my stock easier. You may also want to look at this contribution

http://www.oscommerce.com/community/contri...,all/search,B2B

Pixy

One day at a time - we all have to learn

Link to comment
Share on other sites

Thanks a bunch for the help so far from all of you.

 

First off, I went ahead and installed QT Pro since I will be needing it anyway.

 

Also, I did consider, Pixy, using seperate items for sizes, but REALLY don't want to go that route. I think my users might end up just being confused.

 

I have looked at the product_info.php and found out where it has the drop down list, but I don't know how to get it to the product_listing.php in includes/modules/.

 

There really has to be an easier way of doing this. It seems like this would have been a common "problem" for OS Commerce users. It's quite simple really (for someone, not I, who knows PHP well, haha.) I just want this drop down list to be on the product-listing.php page.

 

Surely some guru knows. :) Hellllp!

 

Thanks again!

Link to comment
Share on other sites

I could hug ya Kathryn! Thanks a bunch! I think that is going to be exactly what I needed. Have you used the original release at all? Or any of the updates? I just want to see how it is/works, etc.

 

I think I will wait for the release as well. Where'd you hear two weeks? Is there a forum out there about this? Thanks soooo much!!

Link to comment
Share on other sites

Ok well maybe I was wrong. It would have worked, but it still doesn't display the info on the products_listing.php like I wanted. Since I am going to completly cut out the "details" section, I can't have the info there. Oh well! Thanks though. I think this will come in handy, no doubt. Any other suggestions out there?

Link to comment
Share on other sites

Ok well maybe I was wrong. It would have worked, but it still doesn't display the info on the products_listing.php like I wanted. Since I am going to completly cut out the "details" section, I can't have the info there. Oh well! Thanks though. I think this will come in handy, no doubt. Any other suggestions out there?

 

Hey Demogoria,

 

My original thread for this is http://www.oscommerce.com/forums/index.php?showtopic=188597&hl=

 

I haven't installed it yet personally - I'm still waiting on the new release. I'm sorry to hear it's not working how you'd like it to be. It's been about 5 days already so it shouldn't be too long before the new one is on the contribs list. I hope the new version will be able to accomplish what we're both looking for!

 

Let me know if you get in before I do :thumbsup:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...