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

#   Problem with "Use price per product" - a bug

##

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

Less More

- Posts: 157
- Thank you received: 8
-
-

12 years 4 months ago [\#162701](#162701) by [vanboke](/forum/user/4873-vanboke "View vanboke's Profile")  *[Problem with "Use price per product" - a bug](/forum/28-shipping-methods/869448-problem-with-use-price-per-product-a-bug#162701 "-- url of the page with the problem -- :   www.bestpub.com/safety-products-and-serv...structions-hbot.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 2.5.22 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- : n/a  I have one product that I have setup shipping prices specific to that product. I have used warehouses, special shipping zones, and several new standard shipping methods to make it work. The whole setup is working well except for one thing.  There looks to be a bug in the shipping calculations.  As an example, one item is $50 to ship to a certain zone. However if someone order more than 1, shipping is only $25 for each item thereafter. So I setup the shipping such that up to a quantity of 1 would cost $50 and up to a quantity of 2 would cost $25.  What happens is this:  Order 1 - Shipping is $50 Order 2 - Shipping is $50 Order 3 - Shipping is $75 Order 4 - Shipping is $100 ...  It should be: Order 1 - Shipping is $50 Order 2 - Shipping is $75 Order 3 - Shipping is $100 Order 4 - Shipping is $125 ...  It looks like somewhere in the code that is doing the calculations there is a &quot;&gt;&quot; not a &quot;&gt;=&quot;. All I need is a pointer to where this change would be and I can make, and then you can make sure it is fixed in the next release.  Any help at all would be wonderful. Eric")* was created by *[vanboke](/forum/user/4873-vanboke "View vanboke's Profile")*

-- url of the page with the problem -- : [ www.bestpub.com/safety-products-and-serv...structions-hbot.html](http://www.bestpub.com/safety-products-and-services/patient-materials/product/384-patient-safety-instructions-hbot.html)
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 2.5.22
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : n/a
-- Error-message(debug-mod must be tuned on) -- : n/a

I have one product that I have setup shipping prices specific to that product. I have used warehouses, special shipping zones, and several new standard shipping methods to make it work. The whole setup is working well except for one thing.

There looks to be a bug in the shipping calculations.

As an example, one item is $50 to ship to a certain zone. However if someone order more than 1, shipping is only $25 for each item thereafter. So I setup the shipping such that up to a quantity of 1 would cost $50 and up to a quantity of 2 would cost $25.

What happens is this:

Order 1 - Shipping is $50
Order 2 - Shipping is $50
Order 3 - Shipping is $75
Order 4 - Shipping is $100
...

It should be:
Order 1 - Shipping is $50
Order 2 - Shipping is $75
Order 3 - Shipping is $100
Order 4 - Shipping is $125
...

It looks like somewhere in the code that is doing the calculations there is a "&gt;" not a "&gt;=". All I need is a pointer to where this change would be and I can make, and then you can make sure it is fixed in the next release.

Any help at all would be wonderful.
Eric

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODY5NDQ4LXByb2JsZW0td2l0aC11c2UtcHJpY2UtcGVyLXByb2R1Y3QtYS1idWc/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: 86555
- Thank you received: 14304
-
-

12 years 4 months ago [\#162706](#162706) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem with "Use price per product" - a bug](/forum/28-shipping-methods/869448-problem-with-use-price-per-product-a-bug#162706 "-- url of the page with the problem -- :   www.bestpub.com/safety-products-and-serv...structions-hbot.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 2.5.22 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- : n/a  I have one product that I have setup shipping prices specific to that product. I have used warehouses, special shipping zones, and several new standard shipping methods to make it work. The whole setup is working well except for one thing.  There looks to be a bug in the shipping calculations.  As an example, one item is $50 to ship to a certain zone. However if someone order more than 1, shipping is only $25 for each item thereafter. So I setup the shipping such that up to a quantity of 1 would cost $50 and up to a quantity of 2 would cost $25.  What happens is this:  Order 1 - Shipping is $50 Order 2 - Shipping is $50 Order 3 - Shipping is $75 Order 4 - Shipping is $100 ...  It should be: Order 1 - Shipping is $50 Order 2 - Shipping is $75 Order 3 - Shipping is $100 Order 4 - Shipping is $125 ...  It looks like somewhere in the code that is doing the calculations there is a &quot;&gt;&quot; not a &quot;&gt;=&quot;. All I need is a pointer to where this change would be and I can make, and then you can make sure it is fixed in the next release.  Any help at all would be wonderful. Eric")*

Hi,

Could you do one or two screenshots of how you configured the shipping for that product so that we can reproduce the email and see from where it's coming ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODY5NDQ4LXByb2JsZW0td2l0aC11c2UtcHJpY2UtcGVyLXByb2R1Y3QtYS1idWc/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.043 seconds

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