Auto add pallets to order

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
Hello to You.
I am new here, and I'm not sure wether this is the rigt place to ask.

I'm running a shop where people can order heavy concrete products.
When these orders are shipped they are placed on pallets.

Can I make nopCommerce add these pallets automaticly, so the costumer pays for them as a product seperately?
Etc. 2 pcs. adds 1 pallets, 4 pcs. adds 2 pallets. and so on?

I hope some one can answer this question.

Have a nice day. :)
10 years ago
Hi

I think this will require custom code to make it work, which version of nop are you using ?
10 years ago
Hi Spire.

Im running version 3.0
10 years ago
On the product details page, there are properties "Require other products added to the cart" and "Automatically add these products to the cart".  However, it won't handle your 2 products to 1 pallet requirement.
Does the customer need to see pallets as products in the cart, or can you instead just have/show a shipping surcharge?  Shipping Director can calculate the number of pallets.  For example, if you put products requiring pallets into an unpublished category "Pallet Required":
Integer   NumPalletsRequired    (Items.Where(Product.HasCategory("Pallet Required")).Sum(Quantity) + 1) / 2
Decimal   Surcharge             [NumPalletsRequired] * 3.00

Then on your shipping Option record, use the Surcharge Expression  "  [Surcharge]  "

You can even add a Description to the shipping method (conditionally via " ? : " - i.e. only if pallets are required)
[NumPalletsRequired] = 0 ? "" : "A $" + [Surcharge].ToString() + " has been added because your cart contains " + [NumPalletsRequired].ToString() + " pallets."
10 years ago
Hello Again.
Thank you for your response.

Maybe I didnt specify precisely what I need.
I would like to be able to add pallets to the basket automaticly, based on the quanty of each product.

ex.
Product 1 has 20 items on a pallet.
Product 2 has 30 items on a pallet.
Product 3 has 90 items on a pallet.
Product 4 has 200 items on a pallet.

The products should not be mixed on the pallets.
If the costumer buys 10 items of Product 2, and 30 items of Product 3. - It should add 2 pallets.

After this, the freight/delivery costs, should be based on number of pallets, with different prices, based on ZIP-code.


Is it possible? :)
10 years ago
Products can be set up with properties:
  Require other products added to the cart:  
  Required product IDs:  
  Automatically add these products to the cart:

However, it won't calculate the number as you want.  (it's one-to-one).  You would need to customize the code.
10 years ago
(after a little thought.... :)
If you don't want to do the customization, and you can accept not having the pallets as items in the cart, and just showing a shipping description that indicates the surcharge, then Shipping Director can probably be set up to handle your various "N pieces per pallet" by using unpublished categories.  E.g. if you create categories "20 per pallet", "30 per pallet", etc.  Then SD can parse out the "20", "30", etc. and calculate the number of pallets based on "N per pallet" / Quantity (and Sum for all items in cart).
10 years ago
Thank you Again, for your reply.
I think costum code, will be necessary, since the number of pallets must be displayed.

You have any idea who can help me with this? :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.