Adding attributes to products in shopping cart
Posted: 16 February 2007 08:39 PM   [ Ignore ]  
Summer Student
Total Posts:  5
Joined  02-16-2007

My client has a web site powered by ExpressionEngine. She has a shopping cart and now displays each product with one size and one price. She would like to have the option of offering her products in a variety of sizes with appropriate prices that vary by size. She’s using a template provided by ExpressionEngine / ePower. Since she uses PayPal to process payments, the line of code for each product currently reads:

<span class=“origin”>{origin}</span>{description}<span class=“price”>{price}</span>{paypal}

How do I modify this line of code to provide size and price options for each of the existing products? We’d like to be able to include up to 4 options?

Thanks!
Carol

 Signature 

Carol
South Florida Web Designer

Profile
 
 
Posted: 17 February 2007 05:17 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15380
Joined  05-15-2004

“Origin”, “description” and “price” are obviously custom fields. So you would have to modify the fields in the appropriate weblog, ie provide more than once choice, then adapt the template accordingly. Also note that since your client is selling things, this is probably a commercial site, so EE Core might not be appropriate.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 17 February 2007 05:31 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12391
Joined  04-29-2002

Carol, if you are posting on behalf of your client who has an EECommercial license, contact Leslie at sales@pmachine.com for access to the non-Core forums. He should be able to help.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 17 February 2007 09:52 AM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  5
Joined  02-16-2007

Thank you both. My client responded via email and we’re going to contact sales about her account. Thanks for the tips for adding the features we need.

Carol

 Signature 

Carol
South Florida Web Designer

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64939 Total Logged-in Users: 70
Total Topics: 81913 Total Anonymous Users: 35
Total Replies: 440331 Total Guests: 302
Total Posts: 522244    
Members ( View Memberlist )