Use this guide to add a new field to the xcart_products_lng_en table.
Pinakin Patel
PHP Web Developer
Create a link to Google Search Console for ranking data
In this example I am going to create a link to...
How to detect edge browser in x-cart 4
The useragent string for edge browsers used to contain the word Edge. But now you get Edg without the e.
Setting a session cookie based on an Admin logged in front end on X-Cart 4
In x-cart Admin can longin as customers and place orders on their behalf.
Discount Coupon Product Exceptions
In xcart 4 the dscount coupon will discount all products. But in some cases you want to stop it discounting some products and not be part of the offer. This can be done using the following instructions.
How to add new banner region in xcart 4 banner system
If you need to add a new banner region to the banner system module in x-cart 4
How to find the number of arrays in an array using smarty
In smarty you will sometimes want to know if there are more than X amount of arrays within an array. Very useful for when you want to use collapse to show the first 5 and then hide the remaining 10 until a button is clicked.
How to add fields to the Manufacturer module in X-Cart 4
In this example I will add a drop select box to...
X-Cart 4 Creating a product level module
Sometimes you just want to add a new data...
How to show the current year using smarty
If you need to show the current year in the...
Firefox Autocomplete issue in X-Cart 4 when bulk editing order statuses
Late 2019 I came across an issue in x-cart 4 and firefox where firefox was autocompleting select dropdown fields wrongly. It happens when you are looking at your orders list and a new order comes in. If you press f5 to reload the page and click back to get to this page from an order details page, then xcart will show the latest order at the top of the list.
Tracking internal keyword search in X-Cart 4 using Google’s gtag.js
In X-cart 4 google analytics is not implemented using Global Site Tag. So when you do convert over (I will create a post for this later) you will need to know how to track internal searches in analytics.