Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Incorrect price with On-The-Fly items



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting Vagel (vagel@telaxion.com):
> ******    message to minivend-users from "Vagel" <vagel@telaxion.com>     ******
> 
> Hello everyone,
> 
> I'm using minivend 4.04 and try to deal with the OnFly functionality.
> The following code permits to add an on-the-fly item in the basket with the
> correct description but not the price.
> The price that shows in the basket is the one of a database item displayed
> on the same page! (the flypage)
> 
> 
> *****************Part of the code from the flypage ********************
> 
> Price:  [currency][scratch total_price][/currency]</b>&nbsp;
> 
>     <A href=[area form="
>                mv_todo=refresh
> 
>               mv_order_item=[loop-data products_option oReference]
>               mv_order_fly=description=[loop-data products_option oName]
>               mv_order_fly=price=[scratch total_price]
> 
>        "]>Order</A>
> ***************************************************************
> 
> The scratch variable "total_price" appears correctly but is ignored in the
> basket
> I tried to replace it by a hard coded price for testing using:
> "mv_order_fly=price=100" but the result is the same.
> 
> I've been searching arround in the docs and the mail list, but didn't found
> anything helpful :-(
> Has anyone any idea on how to solve this problem?

You must be sure you have ;$ as one of the CommonAdjust pricing atoms
so you have a way to get at the price.

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.8220 fax 7501 <heins@akopia.com>

I have a cop friend who thinks he ought be able to give a new ticket;
"too dumb for conditions".
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: