Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

The Display Order of Shipping Carriers

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-28-2011, 01:17 PM
 
ghraham@gmail.com ghraham@gmail.com is offline
 

Newbie
  
Join Date: Jan 2011
Posts: 8
 

Default 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
__________________
v. 4.4.1
Reply With Quote
  #2  
Old 08-08-2011, 11:56 AM
 
JamesH JamesH is offline
 

Newbie
  
Join Date: Feb 2011
Posts: 4
 

Question 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.
__________________
4.4.3
Reply With Quote
  #3  
Old 08-09-2011, 04:09 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 08-09-2011, 07:54 PM
 
JamesH JamesH is offline
 

Newbie
  
Join Date: Feb 2011
Posts: 4
 

Default 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. 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.
__________________
4.4.3
Reply With Quote
  #5  
Old 08-10-2011, 05:27 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 08-10-2011, 06:55 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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);
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following 9 users thank cflsystems for this useful post:
DanielleHoyt (09-26-2014), earlgreg (04-02-2012), flyclothing (08-20-2011), Mr. G (03-14-2012), natures bacon (08-11-2013), rjmmusic (04-30-2012), Spiritsrage (01-30-2013), Thomasb134 (04-06-2012), tqualizerman (03-29-2012)
  #7  
Old 08-10-2011, 04:13 PM
 
JamesH JamesH is offline
 

Newbie
  
Join Date: Feb 2011
Posts: 4
 

Default 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.
__________________
4.4.3
Reply With Quote
  #8  
Old 08-10-2011, 07:10 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 08-10-2011, 07:44 PM
 
JamesH JamesH is offline
 

Newbie
  
Join Date: Feb 2011
Posts: 4
 

Default 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......... 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
__________________
4.4.3
Reply With Quote
  #10  
Old 08-20-2011, 11:13 AM
  flyclothing's Avatar 
flyclothing flyclothing is offline
 

eXpert
  
Join Date: Aug 2004
Location: Gilbert, AZ
Posts: 357
 

Default 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`&amp;action=up date&amp;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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:31 AM.

   

 
X-Cart forums © 2001-2020