How to add labor to products

  • Posts: 13
  • Thank you received: 0
4 years 2 months ago #315076

Hello,

We're trying to create a shop for our product/install business. Is there a way to add labor to products, and then set a minimum amount of labor in before they can check out?

Example:
1) We sell a Sonos Wireless Speaker. We want to attach 15 minutes of labor (with price) to that speaker. How do we do that?
2) We need a minimum of 90 minutes of labor to process the checkout.
3) Customer must either add more product to meet the 90 minute minimum OR they can add labor to meet the 90 minute minimum.

We will process the order, deliver it to customer, install it, then collect payment at time of install (pay later at checkout).

Can anyone think of a way to do this?

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

  • Posts: 12953
  • Thank you received: 1778
4 years 2 months ago #315082

Hello,

Firstly, can you tell us how you want to sell your "minutes of labor" ? Do you only want to attach it to existing products or can you sell it separately ? Thank you.

Kind regards,
Mohamed.

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

  • Posts: 13
  • Thank you received: 0
4 years 2 months ago #315116

We dont intend to sell labor separately, only bundled to products.

We do need it to be attached to product but with separate tax (no tax) attached to the labor. And again, labor from all products must be 90min minimum.

Any thoughts?

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
4 years 2 months ago #315124

Hi,

If you want to have a price for that labor appearing separately from the product, then then only way I can see is that you create several products "labor" in an unpublished category and add them to the other products as "option".
You can for example have one for a 5 min labor, one for a 10 min labor etc.
You'll also want to remove the "no" choice in the option dropdown by removing the line:

$option_values[] = JHTML::_('select.option', 0, JText::_('HIKASHOP_NO'));
from the file "option" via the menu Display>Views.
Then, supposing that the weight of all your products is 0, you could set a weight of 1 kg for the 5 min labor, 2kg for the 10 min labor, etc.
And then, you could set a minimum weight restriction of 18kg in your shipping methods so that they would only display on the checkout if there is at least 90min of labor products in the cart.
Then, make sure that you still have the "shipping" view in your HikaShop checkout workflow, and the system won't allow the checkout to finish if there is no shipping method selected and you'll be good to go.
As a side note you can also use dimensions and volume restrictions if you're already using the weight of the products to restrict the shipping methods.

Last edit: 4 years 2 months ago by nicolas.

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

  • Posts: 13
  • Thank you received: 0
4 years 2 months ago #315131

Nicolas

Let me play with your suggestions. Any ideas for how to always make the minimum? IF labor is <90min add the difference? Thank you so much!

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
4 years 2 months ago #315133

Hi,

I don't see a nice way to do it. You could create more shipping methods for below 18kg of weight with a more expensive price.

Ideally, you could not do what I wrote before, create a custom product field where you would just store the amount of labor, and develop a small plugin to calculate the amount when the cart is loaded and add a "labor fee" to the cart taking into account the minimum.
Any PHP developer basing himself on this plugin www.hikashop.com/marketplace/product/224-global-cart-fee.html (which adds a fee to the cart) should be able to do that for you.

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

Time to create page: 0.066 seconds
Powered by Kunena Forum