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

#   USPS Online Prices?

##

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 1 month ago -  12 years 1 month ago [\#173848](#173848) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[USPS Online Prices?](/forum/28-shipping-methods/871751-usps-online-prices?start=20#173848 "-- url of the page with the problem -- :   casesmithcustoms.com  -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Browser(s) name and version -- : Chrome  I cannot get my website shopping cart to post the USPS online prices even with my webtools ID in place... I contacted USPS to assure my webtools ID is set up for what I want and they say it is...  How can I get online prices to show for checkout USPS shipping?  Thanks")*

Hello,

If you want to apply for example, only 50% of the price of your USPS shipping method, the solution will be to change these lines : Code:

foreach($rates as $finalRate) { $finalRate-&gt;shipping_ordering .= '_'.$i++; $usable_rates[$finalRate-&gt;shipping_id] = $finalRate; }

By : Code:

foreach($rates as $finalRate) { $finalRate-&gt;shipping_price = ($finalRate-&gt;shipping_price * 50 ) / 100; $finalRate-&gt;shipping_ordering .= '_'.$i++; $usable_rates[$finalRate-&gt;shipping_id] = $finalRate; }

Last edit: 12 years 1 month ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

Less More

- Posts: 25
- Thank you received: 1
-
-

12 years 3 weeks ago [\#176021](#176021) by [wayneft](/forum/user/33908-wayneft "View wayneft's Profile")  Replied by *[wayneft](/forum/user/33908-wayneft "View wayneft's Profile")* on topic *[USPS Online Prices?](/forum/28-shipping-methods/871751-usps-online-prices?start=20#176021 "-- url of the page with the problem -- :   casesmithcustoms.com  -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Browser(s) name and version -- : Chrome  I cannot get my website shopping cart to post the USPS online prices even with my webtools ID in place... I contacted USPS to assure my webtools ID is set up for what I want and they say it is...  How can I get online prices to show for checkout USPS shipping?  Thanks")*

> Mohamed Thelji wrote: Hello,
>
> If you want to apply for example, only 50% of the price of your USPS shipping method, the solution will be to change these lines :
>
> Code:
>
> foreach($rates as $finalRate) { $finalRate-&gt;shipping_ordering .= '_'.$i++; $usable_rates[$finalRate-&gt;shipping_id] = $finalRate; }
>
>
>
> By : Code:
>
> foreach($rates as $finalRate) { $finalRate-&gt;shipping_price = ($finalRate-&gt;shipping_price * 50 ) / 100; $finalRate-&gt;shipping_ordering .= '_'.$i++; $usable_rates[$finalRate-&gt;shipping_id] = $finalRate; }

I don't see those 3 lines of code in the file. Are you referencing the most up to date plugin? Is there a reason you can just plug a negative percentage into the Percentage field in the plugin? I tried doing it but there doesn't seem to be any consistency to how the value is applied.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 2 weeks ago [\#176189](#176189) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[USPS Online Prices?](/forum/28-shipping-methods/871751-usps-online-prices?start=20#176189 "-- url of the page with the problem -- :   casesmithcustoms.com  -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Browser(s) name and version -- : Chrome  I cannot get my website shopping cart to post the USPS online prices even with my webtools ID in place... I contacted USPS to assure my webtools ID is set up for what I want and they say it is...  How can I get online prices to show for checkout USPS shipping?  Thanks")*

Yes,
I'm referencing the most up to date plugin, are you editing the "plugins\hikashopshipping\usps\usps.php" file ?

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

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

Less More

- Posts: 25
- Thank you received: 1
-
-

12 years 2 weeks ago [\#176301](#176301) by [wayneft](/forum/user/33908-wayneft "View wayneft's Profile")  Replied by *[wayneft](/forum/user/33908-wayneft "View wayneft's Profile")* on topic *[USPS Online Prices?](/forum/28-shipping-methods/871751-usps-online-prices?start=20#176301 "-- url of the page with the problem -- :   casesmithcustoms.com  -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Browser(s) name and version -- : Chrome  I cannot get my website shopping cart to post the USPS online prices even with my webtools ID in place... I contacted USPS to assure my webtools ID is set up for what I want and they say it is...  How can I get online prices to show for checkout USPS shipping?  Thanks")*

Line #251 shows this:
Code:

foreach($rates as $finalRate) { $usable_rates[$finalRate-&gt;shipping_id] = $finalRate; }

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 2 weeks ago [\#176328](#176328) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[USPS Online Prices?](/forum/28-shipping-methods/871751-usps-online-prices?start=20#176328 "-- url of the page with the problem -- :   casesmithcustoms.com  -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Browser(s) name and version -- : Chrome  I cannot get my website shopping cart to post the USPS online prices even with my webtools ID in place... I contacted USPS to assure my webtools ID is set up for what I want and they say it is...  How can I get online prices to show for checkout USPS shipping?  Thanks")*

Ok, so can you download the last Hikashop version through our website, install it and check it again ?

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

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