chrometweaks.org

Can someone suggest a good web iPage hosting service provider. ?

Click Here To View All Answers...


My question is Can someone suggest a good web iPage hosting service provider. ? Thanks in advance for any answer or 2. Another quick question... Hi!.

Is it possible to allow a quantity of 0 in the shopping_cart?.

Thanks!..

Comments (6)

Of course! but... you might want to make sure and wait for another member to confirm this as I am unsure of myself. Better yet, why don't you email the iPage guys because they can answer your iPage question better...

Comment #1

We show items with zero quantity, for info purposes..

Just change the zero item's status to "In Stock" with a zero qty, but also remember to change the "Allow Checkout" to false..

Http://www.black-dragon.co.uk.

We have this item for people to read....

Http://www.black-dra...php?cPath=22_69.

Derek..

Comment #2

Thanks for your answer Arcadiauk, but thats not what I mean!.

The costumer should still have the option to buy an item!..

Comment #3

Hvae you tried to put 0 in for the quantity? When I hit add to cart, with 0 in the qty, it still adds one of the item to my cart, Can anyone help me out with this. Is there anyway to fix it, or is this a feature. thanks..

Comment #4

If I choose Qty 0 in the product_info, the shopping_cart ignores the product!.

If I choose Qty 0 in the shopping_cart, the Qty doesn't change!..

Comment #5

Uf you type ) in the quantity when purchasing then hit updat your product goes!! So no it's not possible..

Comment #6

Ok, I have modified following files now:.

Shopping_cart.php.

~line 55:.

If ($cart->count_contents() >.

=.

0) {.

Includes/boxes/shopping_cart.php.

~line 58:.

If ($cart->count_contents() >.

=.

0) {.

Includes/classes/shopping_cart.php.

~line 186:.

If ($this->contents[$key]['qty'] <.

0.

) {.

~line 142:.

//.

If (empty($quantity)) return true;.

Now the items are shown in the shopping_cart, so far so good!.

But when I want to "checkout", there still has to be at least 1 item with qty>0, otherwise the page only reloads!.

Any ideas?.

Thanks!..

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.