![]() |
The Display Order of Shipping Carriers
Hello,
On our site we offer two shipping options, USPS and UPS. We are using the fast lane checkout - and on the shipping page UPS is chosen by default. While a customer can still choose USPS from the dropdown box, we would like to have USPS be the default and UPS be a secondary choice. Does anyone know where I would need to look to change the pecking order of these options? And what values should be assigned? Sorry, but you have to register to be able to add things to our cart - manufacturer regulations - But here is the link to the shop if you need to get in there: http://www.radiantlivingcenter.com |
Re: The Display Order of Shipping Carriers
I too would like to know this answer. I have been looking in the database for a table with an order by section as well and can not find anything. Also looking for a .tpl file that controls shipping order.
|
Re: The Display Order of Shipping Carriers
The shipping methods are controlled by the POS box on the shipping methods page. The lower the number, the higher on the list it appears.
|
Re: The Display Order of Shipping Carriers
Thank you for the reply balinor. I am trying to get the default shipping carrier displayed on the shipping/checkout page to display other carriers AKA "USPS" first instead of UPS so my less observant customers would not automatically select shipping from UPS. I could just turn off UPS but I do want to give customers the option of being charged extra for their shipping.:oops: I do see the position boxes but they are for the position of individual shipping methods. I would like to find the .tpl file withe the decision code. I am thinking I could also just display them all I only have 10 methods.
|
Re: The Display Order of Shipping Carriers
Ah, there is a hack somewhere in the forums for combining all of the methods into one area.
|
Re: The Display Order of Shipping Carriers
For 4.4.3 add this
Code:
define('ALL_CARRIERS',1); to this file include/func/func.shipping.php just below Code:
define('SHIPPING_SYSTEM', 1); |
Re: The Display Order of Shipping Carriers
Thank you. I fooled with it and it displays all USPS and UPS and any admin generated shipping methods together only when UPS is selected..... Now all I need is to figure out how to hide or remove the selector box.O:)
|
Re: The Display Order of Shipping Carriers
You can do this either from the template (use webmaster mode to find the exact one) or from the php script
|
Re: The Display Order of Shipping Carriers
Thank you cflsystems. I will try the webmaster mode Are there any really good threads for how x-cart is sewn together. I am looking around and am seriously perplexed. Some files in the skin folder are doubled and triple sometimes. Edit the template......... :-k there is like 2780 files in the common folder...I'm new, does somebody have the treasure map they can lend me? I hope you can excuse my ignorance & sarcasm. I am not a proficient programmer by any stretch of the imagination. Guess I'll just start by reading all forum threads O:)
|
Re: The Display Order of Shipping Carriers
I added Steve's mod and took this out of the customer/main/checkout_shipping_methods.tpl and it seemed to remove the drop down.
{* Select the shipping carrier [begin] *} {if $userinfo ne "" or $config.General.apply_default_country eq "Y" or $cart.shipping_cost gt 0} {if $active_modules.UPS_OnLine_Tools and $config.Shipping.realtime_shipping eq "Y" and $config.Shipping.use_intershipper ne "Y" and $show_carriers_selector eq "Y" and $is_ups_carrier_empty ne "Y" and $is_other_carriers_empty ne "Y"} <label class="form-text"> {$lng.lbl_shipping_carrier}: {include file="main/select_carrier.tpl" name="selected_carrier" id="selected_carrier" onchange="javascript: self.location='cart.php?mode=`$main`&action=up date&selected_carrier='+this.options[this.selectedIndex].value;"} </label> <br /> <br /> {/if} {/if} {* Select the shipping carrier: [end] *} |
All times are GMT -8. The time now is 06:18 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.