Is it possible to add quantity on the product page

  • Posts: 9
  • Thank you received: 0
10 years 9 months ago #166870

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4.27
-- Browser(s) name and version -- : all

Is it possible to add quantity on the product page.

I have a product that needs to be ordered in the quantity 6,12,18,24 etc.... and another that needs to be ordered in quantity 12,24,36,48 etc... because thats how the boxes are packed.

Is that possible to do and if yes how do i do it?

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

  • Posts: 26240
  • Thank you received: 4036
  • MODERATOR
10 years 9 months ago #166875

Hi,

Yes it's possible.
In HIkaShop you can change the "quantity layout on the product page".
The "select" quantity use the "min qty per order" and "max qty per order" to display a dropdown with values based on the two other options.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 9
  • Thank you received: 0
10 years 9 months ago #166917

if i do that it starts at 6 but then it goes to 7 if i press + i want it to go to 12 so that it puts 6 each time like 6 - 12- 18 -24 etc.
How do i do that?

Last edit: 10 years 9 months ago by HenrikS.

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

  • Posts: 9
  • Thank you received: 0
10 years 9 months ago #166924

Like this

Purchase Quantity Steps 6 so it goes 6 - 12 - 18 - 24 etc. and for another product 12 - 24 - 36 - 48 etc.
Minimum Purchase Quantity 6
Maximum Purchase Quantity 9999

Can that be done easily?

Last edit: 10 years 9 months ago by HenrikS.

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

  • Posts: 83858
  • Thank you received: 13577
  • MODERATOR
10 years 9 months ago #166954

If you did like jerome said and set the "quantity layout on the product page" option to "select", you should not have any input field with a - and a + but a dropdown with only the possible values 6, 12, 18, 24...
So yes, that can be done easily.

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

  • Posts: 9
  • Thank you received: 0
10 years 7 months ago #176095

Is it not possible to do it with the + and - , it looks better than a long dropdown

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

  • Posts: 83858
  • Thank you received: 13577
  • MODERATOR
10 years 7 months ago #176112

It's possible with custom development, but not by default with the options available.
You would have to edit the file "show_quantity" via the menu Display>Views and modify the code there to support that.

Last edit: 10 years 7 months ago by nicolas.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum