Forums / Developer / Add more pieces of a product to the basket in 3.6

Add more pieces of a product to the basket in 3.6

Author Message

Zdenek Ziegler

Sunday 14 August 2005 2:12:02 pm

Hello,
I tried to add more pieces of a product to the basket. I added this to my product full view:

<input type="text" class="basket-count" name="ContentObjectCount" value="1" />

I found in <i>kernel/shop/ezshopoperationcollection.php</i> that "item_count" is set to a constant 1. So I modified <i>basket.php</i> and <i>add.php</i> to pass a variable to <i>ezshopoperationcollection.php</i> in order to set item_count as I want in <i>ezshopoperationcollection.php</i>. But still no luck. How is it possible to pass my variable?
Thanks in advance,
Regards
Zdenek

Zdenek Ziegler

Tuesday 16 August 2005 3:41:13 am

Nobody knows how to achive this?