The [--CALL--] tag is only executed at generate time so you couldn't use
it to call a program that takes input from the user and then does
something with it. You would probaby need javascript or php to do the
calculations. As Loren mentioned use a hidden field instead of a text
field for the Price.
Jim
Joseph wrote:
Jim and Loren;
Thanks...I'm currently investigating this as a solution.
Apparantly, I would use a custom template, and use the [-- Call --]
template
tag to populate the variable price field? For comparison, are there any
other techniques I could use? Finally, any way to make the variable
price
field something other than a text field (so the customer couldn't alter
it).
Joseph
"Loren" <loren_d_c@yahoo.com> wrote in message
news:c7dkpp$rj$1@support.shopsite.com...
Joseph,
With the Variable Price feature Jim mentioned is in v7 Pro, you do not
necessarily have to leave it up to the shopper to enter the price, you
could create an application that generates the field and value that
indicates the price in a hidden form field rather than a text form
field.
-Loren
Joseph wrote:
Thanks for replying, gentlemen.
Unfortunately, in this case it is not appropriate for the customer to
enter
the price, and the calculations *are* quite complex.
In fact, we started by using the Order Options Pricing, but the
calculations
have one more factor of complexity than this option allows for. We
have
price breaks on width as well as length, and the scale isn't uniform.
The only solution that I see is some way for ShopSite to call an
external
application we write, providing SKU and dimensions, and then recieving
the
correct price.
You guys know of any such hooks or possiblities?
Thanks!
Joseph
"Loren" <loren_d_c@yahoo.com> wrote in message
news:c7bru8$lhj$1@support.shopsite.com...
Also, if your price calculations are not too complex, you could set up
your options as Order Options pull-down menu's (configured in Products
-> Edit Product Info) and use the Order Options Pricing to change the
price of the item in the shopping cart based on the pull-down
selection
the shopper makes, see:
http://www.shopsite.com/help/7.0/en-US/ ... icing.htmlNote that Order Options Pricing is only in ShopSite v7 Manager and v7
Pro, and only in Pro (not Manager) in older versions.
-Loren
Jim wrote:
Joseph,
If you have ShopSite 7 Pro you can use the variable price product
option
to allow the shopper to enter the price, name, sku.
you can see a description on the help page at
http://www.shopsite.com/help/7.0/en-US/ ... .info.htmlJim
Joseph wrote:
My shopsite needs to allow the customer to select the dimensions of
the
product he is ordering, and do the price computation outside of
shopsite...and then tell shopsite how much to charge for the item.
The Order API happens too late in the process, with no opprotunity
to
influence the pricing.
The Shipping API isn't quite right either.
Can anyone point me in the right direction?
Thanks in Advance!
Joseph