[ic] Shipping problem

Bill Carr bill at bottlenose-wine.com
Wed Jul 27 20:58:47 UTC 2011


IC 5.7.7, perl-5.14.1

I started noticing that my shipping calculations on my shopping basket page were intermittently not being update when item quantities changed.

I turned on some debugging and have noticed the following odd behavior.

shipping.asc:
GROUND_HOME_DELIVERY: FedEx Ground
	criteria	[perl global=1]::logDebug('CRIT'); 1;[/perl]
	cost		f [ship_cost GROUND_HOME_DELIVERY]
	free		Free

t.html:
[seti shipping_selector][if items]<select name="mv_shipmode" id="mv_shipmode" onchange="this.form.submit();">
	[shipping modes=|__SHIP_MODES__| label=1 format='<option value="%M"%S>%D %F']
</select>[/if][/seti]


Calling t.html in my browser gives different debugging output as follows fro Vend::Ship::shipping:

Sometimes like this:
Vend::Ship:debug: doing shipping, mode=GROUND_HOME_DELIVERY
Vend::Ship:debug: shipping lines selected: [
  [
    'GROUND_HOME_DELIVERY',
    'FedEx Ground',
    '[perl global=1]::logDebug(\'CRIT\'); 1;[/perl]',
    0,
    99999999,
    'f [ship_cost GROUND_HOME_DELIVERY]',
    undef,
    {
      'free' => 'Free',
      'PriceDivide' => 1,
      'description' => 'FedEx Ground'
    }
  ]
]



And sometimes like this:
Vend::Ship:debug: doing shipping, mode=GROUND_HOME_DELIVERY
Vend::Ship:debug: shipping lines selected: [
  [
    'GROUND_HOME_DELIVERY',
    'FedEx Ground',
    '1',
    0,
    99999999,
    'f 20.05',
    undef,
    {
      'free' => 'Free',
      'PriceDivide' => 1,
      'description' => 'FedEx Ground'
    }
  ]
]

What could cause this? I want my ship_cost.tag to be called each time but it is not. Please help.
 
Bill Carr 
Bottlenose - Wine & Spirits eBusiness Specialists 
(413) 584-0400 
http://www.bottlenose-wine.com




More information about the interchange-users mailing list