rothjoseph Posted September 10, 2008 Posted September 10, 2008 I am creating a tshirt shop and I want every single product on the site to have the same attributes. I have different colored shirts and different sizes, but every single shirt on my site will same the same choices. What is the best way to go about accomplishing this? I don't want to have to go into the attributes section everytime to manually add those attributes, and I also don't want to have to waste so much database storage space storing the same attributes time and time again. And also, I plan on in the future adding different colors. I want to be able to make on addition to the colors and have it change every shirt again. Thanks
♥geoffreywalton Posted September 10, 2008 Posted September 10, 2008 Sounds for a job for the contribution Easy Populate. Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
rothjoseph Posted September 10, 2008 Author Posted September 10, 2008 I have decided that it would be easiest to make this without easy populate. What I have done is created the default attributes and assigned them to product 1. Then I have edited product_info.php to pull the attributes from product number 1. I also had to edit shopping_cart.php to pull the description for the attributes from number 1. I also had to edit catalog/includes/classes/order.php to pull the description for the attributes from number 1. What I haven't figured out right now is where on the admin side it pulls that product id number to select the attributes. I looked inside of order.php inside the admin folder, but it is missing that part. Does anyone know where I would have to change it so that it shows up with the attributes on the invoice and everything else on the admin end.
rothjoseph Posted September 10, 2008 Author Posted September 10, 2008 Reference for other people. I found what I needed. I had to change the location where it stores to the TABLE_ORDERS_PRODUCTS_ATTRIBUTES in the product_process.php in the normal catalog.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.