Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Tuesday 04 May 2004 5:31:18 am - 3 replies
Paul Forsyth
Tuesday 04 May 2004 5:43:34 am
Im not sure what you are after here. Have you looked at the attributes of ezprice?
kernel/classes/datatypes/ezprice/ezprice.php
and at the shipping workflow event?
kernel/classes/workflowtypes/event/ezsimpleshipping/ezsimpleshippingtype.php
Do these help?
Paul
--http://www.visionwt.com
laurent le cadet
Tuesday 04 May 2004 10:18:46 am
Hi Paul.
If that help ?
<b>For sure :)</b>
I make a workflow (simpleshipping) and a trigger (before confirm order) and I notice that the price of the product change. It works fine. What I can't find is where to change the ShippingCost variable.So many include and files :(
Could you help me again ?
Laurent
Tuesday 04 May 2004 10:52:02 am
This is where looking at the php files help ;)
If you look at the simpleshippingtype file you will see inside it makes reference to two ini variables:
$ini =& eZINI::instance( 'workflow.ini' ); $cost = $ini->variable( "SimpleShippingWorkflow", "ShippingCost" ); $description = $ini->variable( "SimpleShippingWorkflow", "ShippingDescription" );
These are from the workflow ini file. So, if you set the values in that ini file, preferably as an override it should add the correct amount.
paul
You must be logged in to post messages in this topic!