X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Shipping Popup Xcart 4 (https://forum.x-cart.com/showthread.php?t=74334)

richardjknox 08-20-2016 04:42 AM

Shipping Popup Xcart 4
 
Hi All

Could someone please could point me in the right direction.

The Xcart shipping popup has some (for me) useless information in it. It ask for country, State, Postcode

All I want to show is State, how can I remove the unwanted fields

Any help would be greatly appreciated

Cheers

cflsystems 08-20-2016 10:52 AM

Re: Shipping Popup Xcart 4
 
You can't without custom changes to template and php script files. Even if you do modify these files services like USPS or UPS may not return rates based only on state. For sure USPS needs zipcode.

richardjknox 08-21-2016 03:02 AM

Re: Shipping Popup Xcart 4
 
Hi Steve

Thanks ... as it happens I don't use any of those 'USA' shipping methods, just my own defined UK courier shipping ... all I need are the fields removing or blanking out. it's only a wish list not a must have so I'll just go with it.

The only other thing I need is for the basic search NOT to search in the description field just part code and title .. is that possible ?

Cheers
rjk

cherie 08-21-2016 05:59 AM

Re: Shipping Popup Xcart 4
 
Comment out these lines from customer/search.tpl:
PHP Code:

<INPUT type="hidden" name="posted_data[by_shortdescr]" value="Y">
<
INPUT type="hidden" name="posted_data[by_fulldescr]" value="Y"

You may need some deeper customizations to add SKU search to your version.

richardjknox 07-16-2017 03:16 AM

Re: Shipping Popup Xcart 4
 
thanks for that

revisiting the shipping Estimater .. is there any way of making the postcode and town fields no entry ..as in fixed .. so you can enter anything in to them.. just allowing the county field only to be entered, or is that a major change as well. I don;t use any of the UPS type stuff.

That would do, and give me what I want .. but postcode would be better

thanks


All times are GMT -8. The time now is 02:39 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.