Custom fields per product

  • Posts: 25
  • Thank you received: 0
8 years 5 months ago #242399

-- HikaShop version -- : 3.6.2
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : Custom field per product

Hello I need your help to see if is possible to get custom field per product quantity, I mean I sell shirt , but with the personal name and some printed word , and I have to create a custom field in order to ask for the name of the buyer He wants to put on the shirt but when you buy 2 or 3 i need for that field appear 2 or 3 times what is possible ??

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 5 months ago #242426

Hi,

No there is no option to do that.
What you can do is remove the quantity field (quantity input field in the product edition page) so that the customer will have to add the product to the cart several times if he wants to purchase the product with more quantity than 1 and thus, he'll be able to enter a different value in the custom item field each time.

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

  • Posts: 25
  • Thank you received: 0
8 years 5 months ago #242475

Thanks i was hopping that there would be anyway of maybe add the entries system to the check out process.

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

  • Posts: 25
  • Thank you received: 0
8 years 5 months ago #242478

Is there any way that maybe redirect when i click in add to cart to link that to the entries system ???

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 5 months ago #242508

Hi,

The entries system hasn't been made to be used like that. So it won't help.

If you know a bit of javascript programming, the best is to create many custom item fields for the products, and have they hide/show on the product page based on the quantity entered in the input field.
That would answer exactly to your need.
The next best thing is the solution I gave in my previous message.

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

  • Posts: 25
  • Thank you received: 0
8 years 5 months ago #242595

Thanks actually i dont know to much about javascript but which files should i moddified if you could help me please

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 5 months ago #242613

Hi,

Well, you can add your javascript a bit anywhere as long as it is displayed on the page. Then, plug it to the onchange event of the quantity input and that will do.
I would for example put it in the show_default view file.
If you don't know where you're going with this, I highly recommend to contact a professional developer. Some of our partners can help you if necessary:
www.hikashop.com/home/our-partners.html

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

Time to create page: 0.062 seconds
Powered by Kunena Forum