When products are ordered by length....

  • Posts: 13
  • Thank you received: 0
13 years 8 months ago #11615

I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice.
Is this possible in hikashop or can it only be full units?
Also is it possible to have orders for instance 4 items of 0,2m?

Thanks

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 8 months ago #11623

You can use characteristics to ask a user to choose the length he wants. Basically, you will have to create one characteristic via the menu Products->Characteristics and set there all the possible values. Then, you can add that characteristic to the products where the user can choose the length and the dropdown will be displayed on the product page. You can also set different prices via the button "manage variants" on the product edition page.
If you really want to let the user write the length himself, you can use custom item fields (business edition). However, custom item fields are displayed for all your products by default. If you want to display them for only some products, you will have to tweak a bit the views like explained there: www.hikashop.com/support/forum/4-how-to/...t.html?lang=en#11371

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

  • Posts: 13
  • Thank you received: 0
13 years 8 months ago #11624

so if I use the custom items field in the business version, will it affect the price? the price will need to be calculated on the proprotion of the unit. if the price is 4.00 per unit and they order 0,25 it needs to calculate the price to 1.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 8 months ago #11626

No, the price is not affected by the value entered by the user. That is only possible with characteristics where you pre enter all the possible values and their corresponding prices.

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

  • Posts: 13
  • Thank you received: 0
13 years 8 months ago #11628

is it possible to change the formula for the price somewhere in the code to include this? everything else with hikashop fits us really well but we need to have this otherwise we cannot use the shop.

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

  • Posts: 13
  • Thank you received: 0
13 years 8 months ago #11629

logically it shouldnt be difficult to have the price in the cart set to "quantity*price*custom field=total price" instead of just "quantity*price=total price" but I am not so good with coding so I don't know where such a formula would appear

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 8 months ago #11630

Well, it's not as easy as you make it sound.
For example, in our paypal integration, we give to paypal the unit price of products and their quantity and paypal calculates the total on its end. And there is no way to tell paypal to calculate it differently. So that would mean that you would have to change the paypal plugin code to give the full price without the order details if you want to use paypal. Then, you have that modification when loading the cart but also for the cart and order display.

The main code responsible for the calculus of the qauntity price, is in the files currency.php (funciton quantityPrices) and order.php (function loadFullOrder ) of the folder administrator/components/com_hikashop/classes/

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

  • Posts: 13
  • Thank you received: 0
13 years 8 months ago #11633

we only sell wholesale and never use online payment systems, we only send an invoice from the order they make online.. so it is no issue with any plugins. I will have a look at the code to see if I can figure it out. problem is i cannot test how it works before i purchase the business version so i cannot be sure it will do what we need it to do. thanks for now

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 8 months ago #11635

Please contact us via our contact form we will see what we can do :)

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

  • Posts: 13
  • Thank you received: 0
13 years 7 months ago #12526

Hi, I have emailed you on the contact form regarding this. Did you get my email?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 7 months ago #12529

Yes. We also replied to you:
from Hikari Team <XXX>
sender-time Sent at 12:21 AM (GMT+01:00). Current time there: 10:13 AM. ✆
to Nina Berglund <XXX>
date Fri, Mar 25, 2011 at 12:21 AM
subject Re: HikaShop: Regarding: When products are ordered by length....

You didn't receive our reply ? Maybe in your spam box ?

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

Time to create page: 0.053 seconds
Powered by Kunena Forum