customer request for new webshop

  • Posts: 68
  • Thank you received: 2
9 years 9 months ago #188796

-- HikaShop version -- : latest
-- Joomla version -- : latest
-- PHP version -- : 5.3
-- Browser(s) name and version -- : latest

Hi,

I've built serval hakashops. Now a new customer asks if it is possible to both show a "buy"-button as well as a "rent"-button. My customer likes to sell and rent tools. So customers need to select a tool f.i. lawn-mower and must be able to buy it or rent it. This choice should be made on the product-page.

If "rent"-button is selected, additional data should be gathered like: rental-period etc.

Is this use-case applicable with hockshop business edition?

Thanks in advance.

Mark

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

  • Posts: 82865
  • Thank you received: 13372
  • MODERATOR
9 years 9 months ago #188811

Hi,

In that case, I would keep only one "add to cart" button, but I would create custom fields of the table "item". The first one would be "type of purchase" with the choices "buy" and "rent". Then, the other custom fields would have their "display limited to" option set to that field's "rent" value.
Custom fields can be created via the menu Display>Custom fields.

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

  • Posts: 68
  • Thank you received: 2
9 years 9 months ago #188890

Nicolas,

Many thanks for quick and valuable reply. How do we counter the problem of dual pricing for one article? In this case:
Rental price of tool for instance is: 50,- $ And buy-price is: 400,- $

Each price should be subjected to tax. etc.

Can this also be configured with custom fields (my guess is that there is only one (1) price field, maybe I'm wrong).

Thanks again.

Mark

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

  • Posts: 13201
  • Thank you received: 2322
9 years 9 months ago #188898

Hi,

In your case I think that the best way will be to combine variants and custom fields.
Thanks to the variants, you can define different prices for sell or rent for each products and via the custom fields you can restrict the display of some of them to others.

The only thing is, you will have two times the same dropdown, one for the variant selection and so price variation, and another one to display/hide the associated custom fields. To have only one dropdown you can potentially hide the custom field one (rent / sell) with some css and add some javasript to change its value when changing the variant value.

It require some Javascript knowledges.

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

  • Posts: 68
  • Thank you received: 2
9 years 9 months ago #189055

Thanks Xavier,

I'll try to create a setup as proposed.

If I have any questions I'll post them.

Thanks again.

Mark

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

Time to create page: 0.071 seconds
Powered by Kunena Forum