Add Banner System at Homepage for X-cart V4.74

1. Copy jquery.flexslider.js, jquery.flexslider-min.js, and slide_toggle.js to the folder skin/light_responsive/js/; 2. Copy flexslider.css to the folder skin/light_responsive/css/; 3. Edit altskin.css which is at skin/light_responsive/css/, add the following css code at the end of the file: .flexslider {

Read More

Display latest WordPress Posts at X-cart

Here’s my solution using RSS and a Smarty plugin to pull the latest posts from any wordpress blog. Create this file include/templater/plugins/function.sr_wpfeed.php: trigger_error(‘Error reading XML file’,E_USER_ERROR); } $posts = array(); foreach($xml as $item){ for($i=0; $iitem); $i++){ if($i (string)$item->item[$i]->link , ‘title’ => htmlentities($item->item[$i]->title,ENT_COMPAT, ‘UTF-8’) , ‘description’ => $item->item[$i]->description ); } } } $smarty->assign($var, $posts); } ?> […]

Read More

Simple way to convert Upper Case to Lower Case via MySQL

Sometimes we need to convert upper case to lower case, for example, x-cart, by default, its category and product url shows as category or product name. if a category or product name has upper case, the its related url also show upper case. Can we conver url with upper case to lower case? The anser […]

Read More

X-cart Customer Also Bought Settings Method

We need to 2 steps to set Customer Also Bought of X-cart. Fist login admin panel and go to Settings –> Appearance –> Count of columns in simple product list, and Fill in 2, then the products will display in 2 columns. Second aslo at admin panel, go to Settings –> Modules –> Recommended Products, […]

Read More

Is there any way I can change this Auth Code of X-cart ?

After a long time of the installaction, we may have fogor the Auth Code, then we can not reinstall the old x-cart. Is there any way I can change this Auth Code then? The answer is yes! You can edit …/store/include/install.php. Open install.php under include, $installation_auth_code = “xxxx”; xxxx will be your Auth Code. Note: […]

Read More

How to deleted x-cart save how much image?

At x-cart product detaied page, there is an image, indicating the discount of the product. How to delete this function? Very simple, Look in product_details.tpl for “save” word – delete the whole if statement there.

Read More

How to colone x-cart local shop to your domain shop?

We oftern test x-cart at our local server. After everything is OK, we always want to colone our local x-cart shop to our remote web host. Here are some tips on how to to: Go to your x-cart shop root directory, and open config.php, exchange your mysql database connect information, including $sql_host = ‘localhost’; $sql_db […]

Read More

Dreamhost 500 Internal Server Error

After I have installed x-cart v4.4.1 under DreamHost for my new domain prescriptionglasses123.com, it shows: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@prescriptionglasses123.com and inform them of the time the error occurred, and anything you might have done that […]

Read More