|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
price per letter in oscommerce?
I hope this is the right forum to post this in
![]() I have a client who wants to customize this cart where it will recognize for example $0.25 per letter (he does signs and decals, etc.) Is this possible? Is there a module already available for this? |
|
#2
|
||||
|
||||
|
Seems like simple math to me. Should be a non-issue no matter what language the cart is written in.
PriceInDollars = LengthOfWord * 0.25 or PriceInCents = LengthOfWord * 25 |
|
#3
|
|||
|
|||
|
ok but how would i do this in oscommerce? I'm not familiar with it (yet) - is there a module available?
|
|
#4
|
|||
|
|||
|
Quote:
You do not need a module for it. This is what I would do. 1.) Create a Text - Product Attribute let it cost 25cents per unit. 2.) Create a JavaScript that counts the number of words (or characters) in the Text - Product Attribute. 3.) When you submit by the [Add To Cart] button the JavaScript will calculate the 'number of words'= number of Units and multiply it by the Unit cost. Needs a little work in your /catalog/product_info.php |
|
#5
|
|||
|
|||
|
i don't know javascripting
If I gave this project to someone to do will you do it? I will pay you create the scipts and certain customizations required. |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > price per letter in oscommerce? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|