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

#   Set group packages for shipping based on backorder

##

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

Less More

- Posts: 128
- Thank you received: 3
-
-

10 years 7 months ago [\#236198](#236198) by [deuce4884](/forum/user/38332-deuce4884 "View deuce4884's Profile")  Replied by *[deuce4884](/forum/user/38332-deuce4884 "View deuce4884's Profile")* on topic *[Set group packages for shipping based on backorder](/forum/28-shipping-methods/883526-set-group-packages-for-shipping-based-on-backorder?start=20#236198 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.5.0 -- PHP version -- : 5.3.24  I have a custom field that allows me to set an item to backorder. What I want to be able to do is if someone places an item in the cart that is on backorder, they can select how to handle the order; whether to hold the order until the backorder items are available or to send the items in stock and send the backorder items later (this would mean I need to disable group packages for the shipping methods). What I currently have is in my checkout-&gt;cart view I have changed the code:  to  In the same file I added the code:  How can I get the backordered&#95;items variable into the shipping methods to change the group packages variable value?")*

I don't understand why it doesnt work like the UPS plugin and just simply ungroup the packages like it's 2 packages in the shipment instead of 1 if you choose to send in stock items now and backorder items later. I dont see what this has to do with dimension limitations. I should just be like saying that you have 2 smaller packages in the shipment instead of 1 larger package. Going on this

> With FedEx Ground®
> services, you can ship packages
> up to 150 lbs.; up to 108" in length and 165" in length
> plus girth

I'm completely lost on how to make this work. The largest shipping box I use to group packages together is 12" long x 12" wide x 6" tall. Can you help me understand what you mean to do exactly or either maybe there's a way to just not show Fedex methods as an option if someone chooses to send in stock items now and backorder items later?

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

10 years 7 months ago [\#236231](#236231) 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 *[Set group packages for shipping based on backorder](/forum/28-shipping-methods/883526-set-group-packages-for-shipping-based-on-backorder?start=20#236231 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.5.0 -- PHP version -- : 5.3.24  I have a custom field that allows me to set an item to backorder. What I want to be able to do is if someone places an item in the cart that is on backorder, they can select how to handle the order; whether to hold the order until the backorder items are available or to send the items in stock and send the backorder items later (this would mean I need to disable group packages for the shipping methods). What I currently have is in my checkout-&gt;cart view I have changed the code:  to  In the same file I added the code:  How can I get the backordered&#95;items variable into the shipping methods to change the group packages variable value?")*

Hello,

> maybe there's a way to just not show Fedex methods as an option if someone chooses to send in stock items now and backorder items later?

You can use a **return true;** after checking if you have these type of products in your cart or directly enable the "price per product" option through your shipping method configuration page and then go to your "in stock items now"/"backorder" products configuration page, and block that shipping method through the "shipping prices" tab.

Also note that when you set the "group package" option of your shipping method configuration page, you'll have one product per package, so the problem is globally coming from what the FedEx platform return.

The following user(s) said Thank You: [deuce4884](/forum/user/38332-deuce4884 "View deuce4884's Profile")

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

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

Less More

- Posts: 128
- Thank you received: 3
-
-

10 years 7 months ago [\#236288](#236288) by [deuce4884](/forum/user/38332-deuce4884 "View deuce4884's Profile")  Replied by *[deuce4884](/forum/user/38332-deuce4884 "View deuce4884's Profile")* on topic *[Set group packages for shipping based on backorder](/forum/28-shipping-methods/883526-set-group-packages-for-shipping-based-on-backorder?start=20#236288 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.5.0 -- PHP version -- : 5.3.24  I have a custom field that allows me to set an item to backorder. What I want to be able to do is if someone places an item in the cart that is on backorder, they can select how to handle the order; whether to hold the order until the backorder items are available or to send the items in stock and send the backorder items later (this would mean I need to disable group packages for the shipping methods). What I currently have is in my checkout-&gt;cart view I have changed the code:  to  In the same file I added the code:  How can I get the backordered&#95;items variable into the shipping methods to change the group packages variable value?")*

For the Fedex plugin I just disabled it if they selected to send in stock items now and backorder items later. Ended up with the code
Code:

$app = JFactory::getApplication(); $order_handling = $app-&gt;getUserState(HIKASHOP_COMPONENT . '.checkout_fields.backordered_items'); if($order_handling == 'send') return false; foreach($local_usable_rates as $k =&gt; $rate){

Not the best solution, but for right now it works. Thanks for all your help with this.

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

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