| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The Display Order of Shipping Carriers | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
v. 4.4.1 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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.
__________________
4.4.3 |
|||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#4
|
|||||||
|
|||||||
![]() 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.
![]()
__________________
4.4.3 |
|||||||
#5
|
|||||||
|
|||||||
![]() Ah, there is a hack somewhere in the forums for combining all of the methods into one area.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||||
|
|||||||||
![]() For 4.4.3 add this
Code:
to this file include/func/func.shipping.php just below Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#7
|
|||||||
|
|||||||
![]() 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.
![]()
__________________
4.4.3 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() You can do this either from the template (use webmaster mode to find the exact one) or from the php script
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#9
|
|||||||
|
|||||||
![]() 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.........
![]() ![]()
__________________
4.4.3 |
|||||||
#10
|
|||||||||
|
|||||||||
![]() 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] *}
__________________
Jonathan Flyclothing, LLC PO Box 1490 Gilbert, AZ 85299-1571 P 480.422.7350 F 888.359.2568 www.flysportsgear.com?MMCF_xcartforum (X-Cart 4.5.2) FOR SALE |
|||||||||
|
|||
X-Cart forums © 2001-2020
|