Product Tag Insertion Quantity shows when disabled

  • Posts: 32
  • Thank you received: 1
11 years 5 months ago #106043

Hello I have followed all instructions on www.hikashop.com/en/support/documentatio...-product-insert.html

And I added 1 product to an Joomla article. What I want to achieve is to only have the "Add to cart" button and nothing more.
So I believe the code should be "{product}1|cart{/product}" but I have tried that and it is still showing the quantityfield.

Any help would greatly be appreciated.

PS: I have attached a picture of the problem and the following code is in the Joomla article:

{product}1|cart{/product}

<hr>

{product}1|cart|quantityfield|pricedis3|pricetax2{/product}

Attachments:
Last edit: 11 years 3 months ago by loginsecure.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 5 months ago #106359

Hi,

There seems to be a problem with the parameter quantityfield not taken into account for the add to cart buttons that you add via the insert tag system.
Remove the line below in the file components/com_hikashop/views/product/view.html.php and that will fix the problem:
$this->params->set('show_quantity_field',$config->get('show_quantity_field'));
The fix will be included in next version of HikaShop.

The following user(s) said Thank You: loginsecure

Please Log in or Create an account to join the conversation.

  • Posts: 32
  • Thank you received: 1
11 years 5 months ago #106466

Hello Nicolas,

Thank you for your reply. I have tested it and it is working now. Pfff I can get rid now of the ugly css hack.

Thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum