Post by dellasys » Tue Mar 20, 2012 1:55 pm

I would like to add a button [+] and [-] to the product.tpl page for user to increase or reduce the quantity . Each clicked the quantity should be + 1 .. Anyone can help me with this ? Appreciate ...........................

New member

Posts

Joined
Thu Mar 01, 2012 1:44 pm

Post by d7a7z7e7d » Tue Mar 20, 2012 4:09 pm

You could just edit the product template and change the quantity input type from "text" to "number". This would turn this field into the numerical stepper you are looking for, provided you are using a newer browser that supports HTML5.

Image
OpenCart Extensions, Technical Support & Custom Development | Have I helped you?


User avatar
Active Member

Posts

Joined
Fri Sep 17, 2010 5:51 am
Location - USA

Post by GoGo OpenCart » Tue Mar 20, 2012 5:59 pm

Try this one:

http://www.opencart.com/index.php?route ... on_id=4330

Developer: jimmyphong

It has what you asked, and much more ;)

See all my extensions: https://www.opencart.com/index.php?rout ... 20OpenCart


User avatar
Active Member

Posts

Joined
Mon Nov 14, 2011 11:30 pm

Post by dellasys » Tue Mar 20, 2012 8:58 pm

d7a7z7e7d wrote:You could just edit the product template and change the quantity input type from "text" to "number". This would turn this field into the numerical stepper you are looking for, provided you are using a newer browser that supports HTML5.
Thanks for your comment .What i wanted is the quantity textfield still remain at the same place,and beside this add [+] and [-] button to increase and decrease the number quantity .

Like this:
Image

Uploaded with ImageShack.us

New member

Posts

Joined
Thu Mar 01, 2012 1:44 pm

Post by dellasys » Wed Mar 21, 2012 8:10 am

Anyone ?

New member

Posts

Joined
Thu Mar 01, 2012 1:44 pm

Post by dellasys » Thu Mar 22, 2012 1:04 pm

Helo

New member

Posts

Joined
Thu Mar 01, 2012 1:44 pm

Post by dellasys » Fri Mar 23, 2012 12:07 pm

Hi, anyone ?

New member

Posts

Joined
Thu Mar 01, 2012 1:44 pm
Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 26 guests