[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] [item-price] Changing (again...)
****** message to minivend-users from "Eran Binyamin Zeitoun" <eran_zeitoun@karmail.com> ******
After reading all the docs, all the mailing list... i still could not
find a solution for this... here is "solutions" i have found but
non of them work as said... mybe i am missing somthing...:
1. The CommonAdjust solution:
As i understood, if i will put $ in the commonadujst in catalog.cfg minivend
will act as written in the docs "Tells MiniVend to look in the mv_price
attribute of the
shopping cart, and apply that price as the final price, if it exists. The
attribute must be a
numerical value."
After setting the CommonAdujst, i tried to set the mv_price attribute for
each item
inside [item-list][/item-list], i tried:
mv_price= 10
i tried
[set mv_price]10[/set]
nothing worked (i tryed with number but later it will be an inside forumla).
anyone have any idea?
2. The [perl] solution:
[perl arg="scratch config"]
$Safe{scratch}{config}{PriceField} = 'myprice';
return;
[/perl]
This one does work, and work good..., but the problem is that i am not
a perl professional, even not a perl beginner...., i want to know if insted
of
the 'myprice' (which is a field in the products.asc) i can use a formula
which is for example 'impfactor' * 'intfactor' * 'price' (which does not in
the way i did...)
If there are any other ideas, i will appricate....
Thanks In Advance,
Eran Binyamin Zeitoun.
-
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