Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Sizing Method (Foreach loop)

Post new topic   Reply to topic    Smarty Forum Index -> Help Wanted (commercial)
View previous topic :: View next topic  
Author Message
Smarty Rookie

Joined: 04 Jun 2010
Posts: 8

PostPosted: Fri Jun 11, 2010 4:36 am    Post subject: Sizing Method (Foreach loop) Reply with quote

Alright I have a PHPMass shopping cart, and I am trying to add a sizing method for certain items that need different sizes like: large, small, medium, etc...As of right now I have it working for the most part, but I am unfamiliar with the Smarty template and I am stuck. Right now the script when just one product is in the cart the sizing method works fine (I don't have it setup to create the order with the sizing method yet). However, when you add two or more products that have sizing methods while you are checking out, the sizing methods for all the products are the same as the last product to go through the loop. Which is a problem, because they should acquire there own sizing methods. (not all products have sizing methods).

I need:
-Sizing Method for checkout to be completed
-Add what user chooses to orders table in checkout, and also edit the email that is sent to the admin to contain what the sizing methods are for products of an order

Please let me know if this is something that you think you can handle. Also post here how long and how much.


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Help Wanted (commercial) All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP