[Skip to main content](#vessel-content)

#   Shipping per unit

##

- **[appliance](/forum/user/744-appliance "View appliance's Profile")**
- [![appliance's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/744-appliance "View appliance's Profile") Topic Author
- [ Offline](/forum/user/744-appliance)

Less More

- Posts: 54
- Thank you received: 0
-
-

15 years 9 months ago [\#6481](#6481) by [appliance](/forum/user/744-appliance "View appliance's Profile")  *[Shipping per unit](/forum/4-how-to/6481-shipping-per-unit#6481 "Hi- Is there a way to setup shipping so that, say, if you buy one unit, you pay a base price and then an additional $1 per unit? Also, when displaying the billing/shipping address, the default seems to be display the postal code before the city and state. Most of my sales will be in the US where the postal code comes after the state. I have changed this in the input fields, but cannot figure out how to re-order the display.  When I try to login on the registration page, if I enter my username and password and then press enter, it assumes that I am entering info into the registration fields, but have not completed it and so it gives me an error. My instinct is to hit enter rather than click the login button so I was wondering if there is a way for Hika to recognize this.  I have 2 billing addresses for an account I've set up. When I choose the one that is not the default, I have to click the next button twice. The non-default address is also a different shipping zone so I don't know if that makes a difference.  Sorry to lump all this together, I am just toubleshooting the checkout process as I go. Thank you so much for all your help.")* was created by *[appliance](/forum/user/744-appliance "View appliance's Profile")*

Hi-
Is there a way to setup shipping so that, say, if you buy one unit, you pay a base price and then an additional $1 per unit?
Also, when displaying the billing/shipping address, the default seems to be display the postal code before the city and state. Most of my sales will be in the US where the postal code comes after the state. I have changed this in the input fields, but cannot figure out how to re-order the display.

When I try to login on the registration page, if I enter my username and password and then press enter, it assumes that I am entering info into the registration fields, but have not completed it and so it gives me an error. My instinct is to hit enter rather than click the login button so I was wondering if there is a way for Hika to recognize this.

I have 2 billing addresses for an account I've set up. When I choose the one that is not the default, I have to click the next button twice. The non-default address is also a different shipping zone so I don't know if that makes a difference.

Sorry to lump all this together, I am just toubleshooting the checkout process as I go. Thank you so much for all your help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY0ODEtc2hpcHBpbmctcGVyLXVuaXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#6499](#6499) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Shipping per unit](/forum/4-how-to/6481-shipping-per-unit#6499 "Hi- Is there a way to setup shipping so that, say, if you buy one unit, you pay a base price and then an additional $1 per unit? Also, when displaying the billing/shipping address, the default seems to be display the postal code before the city and state. Most of my sales will be in the US where the postal code comes after the state. I have changed this in the input fields, but cannot figure out how to re-order the display.  When I try to login on the registration page, if I enter my username and password and then press enter, it assumes that I am entering info into the registration fields, but have not completed it and so it gives me an error. My instinct is to hit enter rather than click the login button so I was wondering if there is a way for Hika to recognize this.  I have 2 billing addresses for an account I've set up. When I choose the one that is not the default, I have to click the next button twice. The non-default address is also a different shipping zone so I don't know if that makes a difference.  Sorry to lump all this together, I am just toubleshooting the checkout process as I go. Thank you so much for all your help.")*

Hi,

You could create several shipping methods using volume restrictions like this:
from 0 to 1.5 =&gt; base price
from 1.5 to 2.5 =&gt; base price+1
from 2.5 to 3.5 =&gt; base price+2

You can edit the address display templates by going in the menu Display-&gt;Views and searching for the view files address_template. There, you will be able to change the order of the fields.

Which version of HikaShop are you using ? In the latest version we changed a bit how it worked on the data selection of the login/registration and it might work for that case.

When an address is changed you indeed have to click next once to update the information and display the new information, and a second time to go to the next step.
You can edit the file address_view of the view checkout via the menu Display-&gt;Views and add the code:
if($this-&gt;config-&gt;get('auto_submit_methods',1)){
$checked.=' onclick="this.form.submit(); return false;"';
}
After the code:
if(($this-&gt;$varname==$address-&gt;address_id)&#124;&#124;(empty($address-&gt;address_id) &amp;&amp; !$done)){
$checked = 'CHECKED';
$done = true;
}
To change that behaviour.
We'll include that change in next release.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY0ODEtc2hpcHBpbmctcGVyLXVuaXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
