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?
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":
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."
(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).