
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Please help! Attributes cleared
"Lewey Taylor" <admin@triparish.net> writes:
> I will try one last time. If someone does not have any
> clues why all my modifiers get tossed, I guess I'll have to
> pay someone to help me fix it. Don't know what else to do
> and I gotta get this site up. I did even try a new catalog
> with mysql but that didn't help either. I will post my
> debug again and again I apologize for the long post :)
I think it boils to a behaviour which reasoning eludes me
at least partially (Mike ?).
If you have item modifier and you don't use the select
boxes for them in a form (cart, checkout), you need
to use hidden elements like that (untested !!):
<input type=hidden name="bcurve[calc][item-increment]-1[/calc]" value="[item-modifier bcurve]">
for any modifier you're using.
Look how the modifier bcurve vanishes:
>
> main:debug: CGI value=
> main:debug: line 0 modifier power now
> main:debug: updating line 0 modifiers: {
> 'price_group' => '',
> 'code' => 'bl0009',
> 'gift_cert' => '',
> 'numberinbox' => '6pack',
> 'mv_ip' => '0',
> 'mv_ib' => 'products',
> 'bcurve' => 'Flat',
> 'diameter' => '14.2',
> 'quantity' => '1',
> 'power' => '',
> 'color' => 'Clear'
> }
>
> main:debug: CGI value=
> main:debug: line 0 modifier bcurve now
> main:debug: updating line 0 modifiers: {
> 'price_group' => '',
> 'code' => 'bl0009',
> 'gift_cert' => '',
> 'numberinbox' => '6pack',
> 'mv_ip' => '0',
> 'mv_ib' => 'products',
> 'bcurve' => '',
> 'diameter' => '14.2',
> 'quantity' => '1',
> 'power' => '',
> 'color' => 'Clear'
> }
>
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users