unique item

sergeh

Avatar: sergeh

2006-10-06 05:03

Is there a way to disable the quantity in the basket?

Most of the products that I have are unique so there's only 1 of each, I was able to disable the input in content_more and make the value 1 hidden, but I can't seem the disable it in the orders basket, or stop people from adding an object twice.

I don't need to have a quantity feature or mark an item as sold out, I just want it to limit a user from adding the same product twice, would that be possible?

Ned

No avatar

2006-10-06 09:33

It will be possible in a short while. I have commissioned a commercial plugin that will monitor stock and make it hidden when its reached zero as well as do other things.

Ill post here when its ready and with the cost.

metjes

No avatar

2006-10-06 12:47

Ned> How long time is "a short while"?

Ned

No avatar

2006-10-06 13:32

I dont know. The opensolution team are writing it. I will then have to test it.

sergeh

Avatar: sergeh

2006-10-06 16:51

well that's the thing I don't need all that, I just want to limit the user by only let him had only of each, right now I already limited the product quantity when a person views the product, he can't enter a number other than 1. I just need to do that in the order_basket as well but no matter waht I do the input box stays enabled even if I do

<input type="text" name="aElements[$aList[iElement]]" value="$aList[iQuantity]" maxlength="3" size="2" disabled="disabled"/>

treewood (OpenSolution)

Avatar: treewood

2006-10-07 08:38

sergeh - You can change this input tu hidden and show normal $aList[iQuantity] not in input

sergeh

Avatar: sergeh

2006-10-07 17:49

hi treewood, I already tried that but no matter what changes I do in order_basket.tpl nothing changes... am I editing the right file or should I edit another one?

sergeh

Avatar: sergeh

2006-10-07 18:51

it seems that I had to change it in productAttributes, it works perfectly now thanks

Trislo

No avatar

2006-10-21 18:20

Hi Sergeh,

Could you tell what you exactly did to make only one of each and what you did with the order basket. Thank in advance!

Back to top
about us | contact