Print Page | Close Window

Multiply price by number of letters in text box

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=5921
Printed Date: 16-November-2024 at 8:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Multiply price by number of letters in text box
Posted By: pqmagic70
Subject: Multiply price by number of letters in text box
Date Posted: 13-August-2014 at 5:48pm
One of the products in our current store is iron-on letters that are purchased to customize vests with a person's name or their group. They are sold individually and available in 4 different colors. Rather than having the customer choose from a 26 option drop down list or radio button selection (letters A-Z) for each individual letter they want our current system multiplies the count of a text box by the individual price of the letters. Since all letters are always available we don't have to worry about tracking stock so we just need the total price to reflect the individual price multiplied by the number of characters entered in the text box. I was able to customize the code of the current system to achieve this but I'm having a little difficulty figuring out the exact pages and procedures involved in adding products to the shopping cart in Product Cart. Any help that could save me some time would be greatly appreciated. I've managed to get figure out how to get Product Cart to do everything our current system does with this one exception. We're making the switch to Product Cart because it has a much more user friendly interface as well as a more appealing base layout.

Thanks



Replies:
Posted By: Greg Dinger
Date Posted: 13-August-2014 at 5:54pm
I'd consider looking at instPrd.asp to make these changes.  You may also need to adjust viewPrd.asp and associated (viewPrdCode.asp, viewPrdL.asp, etc.) depending upon how you want to alter the layout.  But if the idea is to count the characters in a custom input field, and use that to manipulate the quantity, start with instPrd.asp.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: pqmagic70
Date Posted: 13-August-2014 at 7:27pm
Thanks Greg. I had been looking at viewPrd.asp and viewPrdCode.asp but I hadn't checked instPrd.asp. Hopefully that will be the missing piece.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net