Adding a quantity field on Virtuemart product page ?
Support desk for Multipurpose Quark Theme
- GK User
- Fri Jun 16, 2017 9:11 am
Hello,
Is it possible to add a quantity field on the Virtuemart product page?
Next to the price.
Best regards.
Is it possible to add a quantity field on the Virtuemart product page?
Next to the price.
Best regards.
-
- Senior Boarder
- teitbite
- Mon Jun 19, 2017 10:35 am
Hi
All You need to do is to set in VM configuration to show quantity options. After that add to cart area will turn to this:
All You need to do is to set in VM configuration to show quantity options. After that add to cart area will turn to this:
-
- Moderator
- GK User
- Mon Jun 19, 2017 11:16 am
Thanks for the quick reply but I searched and I do not see this setting... where exactly in VM Configuration ?
-
- Senior Boarder
- teitbite
- Fri Jun 23, 2017 9:41 am
Hi
I'm afraid I'm not VM expert, so I need to send You to their documentation. Could not found this option either, but it's clearly based of a config value as You can see in code:
If You will not find a solution via configuration than edit file /html/com_virtuemart/productdetails/default.php and change line 256 (above code) to:
so it will be always true and show quantity despite of configuration.
I'm afraid I'm not VM expert, so I need to send You to their documentation. Could not found this option either, but it's clearly based of a config value as You can see in code:
- Code: Select all
if($templateSettings->get('vm3_show_quantity', '0') == '1' ) :
If You will not find a solution via configuration than edit file /html/com_virtuemart/productdetails/default.php and change line 256 (above code) to:
- Code: Select all
if( 1 ) :
so it will be always true and show quantity despite of configuration.
-
- Moderator
- GK User
- Mon Jun 26, 2017 2:29 pm
Works.
Thank you again!!! )
Thank you again!!! )
-
- Senior Boarder
- teitbite
- Fri Jun 30, 2017 1:12 pm
Hi
That's great Still wondering where the option to turn it on is hiding in configuration Anyway, closing this thread now.
That's great Still wondering where the option to turn it on is hiding in configuration Anyway, closing this thread now.
-
- Moderator
6 posts
• Page 1 of 1