Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Hide Qty from shopexd.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

soncci
VP-CART New User

USA
97 Posts

Posted - March 06 2008 :  16:42:16  Show Profile  Visit soncci's Homepage  Reply with Quote
I do not need to have any quantities in any products since the customer will buy only 1 of each.
I was able to delete or hide the quantity (QTY, drop down or not box) from other pages, but cannot find how to do the same in the shopexd.asp.

I have now the box with the number 1 and the customer could change that by mistake to any number.
I am looking to hide or delete that Qty.

Any help will be very appreciated.

Thanks

soncci
www.babynucci.com/ShoppingBabyn
(here is where the cart is been edited)

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - March 07 2008 :  03:13:33  Show Profile  Reply with Quote
Hi soncci,

rather than delete the quantity box (not a good idea for customers not to see how many they are ordering) you could make the box uneditable ie they cannot change the quantity. To do this you could open the file shopfileio.asp in notepad or an html editor and find sub routine: Sub Add_Quantity (ivalue, parsearray) (about line 950)
The find the line that reads: <input class="txtfield" type="text" size="2" maxlength="3" name="quantity" value="1" />
After type="text" add the following: READONLY=true

Hope this helps,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

soncci
VP-CART New User

USA
97 Posts

Posted - March 07 2008 :  09:20:53  Show Profile  Visit soncci's Homepage  Reply with Quote
Thank you very much Carrol.

I was able to do it.

I prefer to delete the quantity since the items are downloads and the customer will not buy more than one file of each kind.
The quantity is showed in the shopping cart but not in the product page.
Thanks again, your suggestion send me to the right direction.

soncci
www.babynucci.com/ShoppingBabyn
(here is where the cart is been edited)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00