Quantity Box

Support desk for Multipurpose Quark Theme
GK User
Mon Dec 14, 2015 11:41 am
Hi,

Just realized that there is no quantity box in the Quark demo anda can't find a way to show it! It'll be strange to tell to future clients that they can buy only one and can't spend more money! :D

How can I display quantity box?

Found a closed thread for publicity but the solution was deleted by moderators: https://www.gavick.com/forums/quark/i-n ... mers-46469
User avatar
Senior Boarder

GK User
Tue Dec 15, 2015 9:47 pm
Two part answer...

Step 1
To get the quantity box to show up, go to Extensions > Templates and click on gk_quark. Under Features, scroll to the bottom and click Enable next to "Show quantity fields in the product details page," then click Save. Goofy, I know, but that's where it is.

Step 2
The first step will only get the quantity box to show up, but it doesn't calculate correctly. To make it work right, through FTP you have edit the file: templates/gk_quark/html/com_virtuemart/productdetails/default.php. Either delete or comment out line 310:
Code: Select all
<input name="quantity" type="hidden" value="<?php echo $step ?>

Step 2 seems to not be necessary for some, I think maybe that line of code was fixed in the general template files, but not the quick start files. So, I figured best to just go ahead and include it here since it was something several others had an issue with and something I had to fix too.
User avatar
Fresh Boarder

teitbite
Thu Dec 17, 2015 3:08 pm
Hi

Thank You @mmooney, I'm gonna show Your post to programmers so they'll check the quickstart package and fix the issue.
User avatar
Moderator

GK User
Sun Dec 20, 2015 12:42 pm
Great @mmooney !!

Goofy, goofy :D

And thx for the second step!! It was necesary and you save me time getting mad with it!

Thx a lot.
User avatar
Senior Boarder


cron