Set Min Qty as default

  • Posts: 145
  • Thank you received: 1
9 years 2 months ago #245012

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6.23

hi

How can i set "Min Qty" as defailt in "add to cart"

Then "Min Qty" how not the same amount in all products.

I want it easier to shop with the "Min Qty" so the custormer dont have to find the right "Min Qty"


Best regards
Brian

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
9 years 2 months ago #245022

Hi,

It's already the case by default in HikaShop.
When you set the "quantity per order" of a product ( take.ms/fmUee ), you then see the default value of the quantity input to have that value on the product page ( take.ms/Klk3m )

The following user(s) said Thank You: Nowweb

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

  • Posts: 145
  • Thank you received: 1
9 years 2 months ago #245078

I have misunderstood my clients request.

He wants the "Min Qty" amount to be 1 item in the Add to card.

If there are an Min Qty of 4 the product add to card will show 1.
So every time the customer send 1 item tol add to card, the customer get 1 box with 4 items.

How can i do that?


Best regards
Brian

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

  • Posts: 12953
  • Thank you received: 1778
9 years 2 months ago #245080

Hello,
Well there is actually no option to do that, but you can for example sell you products per box of 4 items, or directly edit the code of Hikashop to adapt it as needed.

Last edit: 9 years 2 months ago by Mohamed Thelji.

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

  • Posts: 145
  • Thank you received: 1
9 years 2 months ago #245235

Can you lead me in the direction where i find the code?


Best regards
Brian

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
9 years 2 months ago #245256

Hi,

You'll want to edit the "show_quantity" view file via the menu Display>Views. That's where you'll find the HTML for the quantity input.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum