- Posts: 31
- Thank you received: 2
Two product quantity fields at checkout.
10 years 5 months ago #239395
by drfenning
Two product quantity fields at checkout. was created by drfenning
-- url of the page with the problem -- :
zigzagsewingstudio.com/index.php/shop/fa.../category/92-cottons
-- HikaShop version -- : 2.6.33
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : chrome
My client needs a plugin that will allow her customers to order fabric by two fields 1) yard 2) 1/4 yard, 1/2 or 3/4 like this link: www.fabric.com/buy/ff-305/kaufman-essex-...nen-blend-denim-blue .
so in other words it would be price x 100% times the number of yards plus 0% (no partial yard) 25% (1/4 yard), 50% (1/2 yard) or 75% (3/4 yard).
I can do this in variants, but that is too many variables when the number of whole yards can be an infinite amount.
Thanks
-- HikaShop version -- : 2.6.33
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : chrome
My client needs a plugin that will allow her customers to order fabric by two fields 1) yard 2) 1/4 yard, 1/2 or 3/4 like this link: www.fabric.com/buy/ff-305/kaufman-essex-...nen-blend-denim-blue .
so in other words it would be price x 100% times the number of yards plus 0% (no partial yard) 25% (1/4 yard), 50% (1/2 yard) or 75% (3/4 yard).
I can do this in variants, but that is too many variables when the number of whole yards can be an infinite amount.
Thanks
Please Log in or Create an account to join the conversation.
10 years 5 months ago #239440
by nicolas
Replied by nicolas on topic Two product quantity fields at checkout.
Hi,
In your case, I would create a custom field of the table "item" of the type "dropdown" for the selection of the aditional 1/2 1/1/4 or 3/4 yard on the product page, and then a small plugin to override the price of the product in the cart based on the quantity and what's entered in that custom field.
This would require the Business edition, and the development of that plugin, which can be based on the width*length price override plugin that we offer in the "How to sell products by Width and Length ?" section of our FAQ:
www.hikashop.com/support/documentation/106-faq.html#cart
If you need a developer to work on that for you, you can contact our partners:
www.hikashop.com/home/our-partners.html
In your case, I would create a custom field of the table "item" of the type "dropdown" for the selection of the aditional 1/2 1/1/4 or 3/4 yard on the product page, and then a small plugin to override the price of the product in the cart based on the quantity and what's entered in that custom field.
This would require the Business edition, and the development of that plugin, which can be based on the width*length price override plugin that we offer in the "How to sell products by Width and Length ?" section of our FAQ:
www.hikashop.com/support/documentation/106-faq.html#cart
If you need a developer to work on that for you, you can contact our partners:
www.hikashop.com/home/our-partners.html
Please Log in or Create an account to join the conversation.
Time to create page: 0.157 seconds