Forum
Shop Shipping Method
Hi,
If a Shop cart qualifies for two shipping methods (e.g. Standard Shipping and Next Day Delivery), should the cheapest be applied automatically? My cart is currently applying the more expensive Next Day Delivery by default, which isn't ideal.
Short diagnostics:
Perch Runway: 2.8.29, PHP: 5.5.32, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.29), assets (2.8.29), categories (2.8.29), perch_forms (1.8.3), perch_shop_orders (1.0.3), perch_shop_products (1.0.3), perch_shop (1.0.3), perch_members (1.5), perch_mailchimp (3.0)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_forms', 'perch_members', 'perch_shop', 'perch_mailchimp' );
PERCH_LOGINPATH: /admin
PERCH_PATH: /home/newgateclocks/public_html/admin
PERCH_CORE: /home/newgateclocks/public_html/admin/core
PERCH_RESFILEPATH: /home/newgateclocks/public_html/admin/resources
Image manipulation: GD
PHP limits: Max upload 20M, Max POST 8M, Memory: 64M, Total max file upload: 8M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
DOCUMENT_ROOT: /home/newgateclocks/public_html
HTTP_HOST: newgateclocks.com
REQUEST_URI: /admin/core/settings/diagnostics/
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
P.S. Site is here:
Newgate Clocks
Any cart under £50 shows options of Standard Shipping or Next Working Day if you want to test.
Cheers!
Mike
I think it should apply the cheapest qualifying method, but once you've chosen a method it will default to that.
It is definitely going for the most expensive in this case, which is odd. Thought it might be using the one with the lowest
shippingID
, but that would be Standard Shipping.What does debug output when it's evaluating the options?
This is what is in debug - Next Day is being matched first, not sure if that is significant:
Hmm, yes it could be.