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

customization xc4 or xc5

   X-Cart forums > Considering X-Cart > Considering using X-Cart for my project
Thread Tools Search this Thread
Old 05-19-2016, 07:55 PM
dogrescuer dogrescuer is offline
Join Date: May 2016
Posts: 1

Default customization xc4 or xc5

Do both xc4 and xc5 have provisions for extending module output?

For instance, we want to add a message to anyone choosing a specific shipping type to Canada warning the buyer that customs adds an export fee to this shipping type.

Would I have to customize a core file to make this message display? Would I lose my change on the next update of the affected file?

I do this in woocommerce by adding a filter to the package rates that calls my function to test which shipping is chosen and adding the message accordingly.
just looking!
Reply With Quote
Old 05-26-2016, 04:10 AM
  totaltec's Avatar 
totaltec totaltec is offline

Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823

Default Re: customization xc4 or xc5

Both XC4 and XC5 can certainly be customized in the way you want.

In XC4 you would do this by modifying core files, but it can be done in a modular way by keeping the code in its own module directory, and just placing hooks into the core. When you upgrade these hooks would need to be replaced.

In XC5 you never modify core files. Just build your module, and install it. Any module can modify any other module or the core.
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at, or skype b8bym0nkey

X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following 2 users thank totaltec for this useful post:
DAV (05-30-2016), Kirill (05-31-2016)
   X-Cart forums > Considering X-Cart > Considering using X-Cart for my project

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:02 PM.


X-Cart forums © 2001-2020