add-to-cart quantity buttons missing

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Mar 03, 2014 12:06 pm
Reply with quote
Report this post
Hej guys,
I have Shop & Buy installed on a J!2.5.18 with VM2.0.26d - main language "german". My problem now: there are no quantity-control-buttons on the product details pages. I have seen this post: https://www.gavick.com/forums/shop-and-buy-joomla25/add-to-cart-button-28782.html but, if there is a solution, I don't get it.

Because the products sometimes have minimum order-quantities and quantity-steps (100, 200, 300 etc. or 25, 50, 75 etc.), I have to show the quantity-control-buttons.

Can you please give me a hint (or the solution) how to resolve this problem?

Here is the link to a product-details-demosite: http://192.185.196.232/~projects/betriebsrat/shop/praktisches/boardcase-trolley-hartschale-detail.html

Thank you very, very much!
User avatar
Senior Boarder

GK User
Mon Mar 03, 2014 12:19 pm
Reply with quote
Report this post
Could you please check if on default Beeze template the quanity controls are visible?
User avatar
Moderator

GK User
Mon Mar 03, 2014 12:40 pm
Reply with quote
Report this post
Hej Cyberek,
thx for this fast reply! If you want to check: I turned on the beez5 as default and the quantity-control-buttons are visible (but without the plus and minus sign).

If you need an administration login, I can provide you with this by PM.

THX!
User avatar
Senior Boarder

GK User
Mon Mar 03, 2014 1:08 pm
Reply with quote
Report this post
So, with the beez5 template it looks like this:
Image
User avatar
Senior Boarder

GK User
Mon Mar 03, 2014 1:12 pm
Reply with quote
Report this post
and with the Shop&Buy template:
Image
User avatar
Senior Boarder

GK User
Mon Mar 03, 2014 1:15 pm
Reply with quote
Report this post
On the Shop&Buy template you can see
Code: Select all
<span class="quantity-controls js-recalculate"> </span>
inside
Code: Select all
<span class="quantity_box_wrap">
... But it shows just a empty space.
User avatar
Senior Boarder

GK User
Wed Mar 05, 2014 9:57 am
Reply with quote
Report this post
Ill ask our dev team why those elements doesn't show, and will reply as soon as I'll get an answer from them.
User avatar
Moderator

GK User
Wed Mar 05, 2014 10:13 am
Reply with quote
Report this post
Hej Cyberek!
Thank you very much. I am looking forward to hear from you.
User avatar
Senior Boarder

GK User
Mon Mar 17, 2014 8:05 am
Reply with quote
Report this post
It seems this template was designed this way and quantity buttons was not included in design.
User avatar
Moderator

GK User
Mon Mar 17, 2014 8:39 am
Reply with quote
Report this post
Hej, thank you for the info. Is there a simple way to include them? Like copying some code from an other template?

Thx for help & info
User avatar
Senior Boarder

GK User
Mon Mar 17, 2014 8:42 am
Reply with quote
Report this post
You could uncomment them from the product php file, but then you would need to style them with css so they look coherently with the rest of the template.
To show the buttons:
Please edit file: templates/gk_shop_and_buy/html/com_virtuemart/productdetails/default.php
and change this code:
Code: Select all
<!--<input type="button" class="quantity-controls quantity-plus"/>-->
<!--<input type="button" class="quantity-controls quantity-minus"/>-->

to:
Code: Select all
<input type="button" class="quantity-controls quantity-plus"/>
<input type="button" class="quantity-controls quantity-minus"/>
User avatar
Moderator

GK User
Mon Mar 17, 2014 9:53 am
Reply with quote
Report this post
Hej Cyberek,
thank you for this! It works now the way it should!

THX for great support! Topic can be marked as solved.
User avatar
Senior Boarder

GK User
Mon Mar 17, 2014 10:23 am
Reply with quote
Report this post
Ok :)
If You will have any other questions, feel free to post new forum threads.
User avatar
Moderator


cron