I have a multisite of a main domain and two subdomains. I am using the WP Global Cart plugin to achieve this structure. Each subdomain synchronises its products to the main domain but not each other. Payment cart is centralised on the main domain only. I need help with the following:
problem 1: Free shipping calculation This is what I want to achieve "Free delivery is not based on the total amount in the cart or at checkout. Each shop has its own delivery charges. To qualify for free delivery from a specific shop, you must spend over €40 on products from that shop." The 2 shops are in different locations, hence possibly two shipping charges on an order where a customer has selected products from both shops.
Shop 1: €3 per delivery, if products from THEIR shop are €40+ then free delivery Shop 2: €5 per delivery, if products from THEIR shop are €40+ then free delivery
At cart and checkout the shipping fee for each shop must be displayed separately.
A script provided by WP Global Cart amends the cart-shipping.php script to split the shipping cost for each shop but it seems to only work on the classic checkout widget. There is an issue where the shipping appears a radio buttons so a customer can simply select 'free shipping' even when they do not qualify for it. I have another script that sorts this issue by making a calculation on the total checkout value but it needs to be by 'products from shop' value.
problem 2: order splitting The order email that get's sent to the shop managers for the two stores needs contain not only the products but also for which of the two stores. The store manager can then see what products from their shop are needed to fulfil the order. There may be instances where a customer has chosen products from one shop but bot shop managers will get the order email. This is fine. The shop manager will ignore the order if it does not contain their shops' products.
Thanks for your patience reading this, good luck to us in finding a solution