Questions tagged [x-cart]

X-Cart is a web based, open source, shopping cart written in PHP.

X-Cart is a web-based, open source, shopping cart written in PHP. It is available free of charge or can be purchased for access to extra features.

It is offered in multiple packages:

  1. X-Cart Free - Free shopping cart system
  2. X-Cart Business - More features
  3. X-Cart Multivendor - Multivendor marketplace
  4. X-Cart Ultimate - More features

The latest version is 5.3.

X-Cart 4 is now referred to as X-Cart Classic, and is enjoys widespread use and deployment, as well as active development (though at a reduced pace when compared with X-Cart 5).

166 questions
0
votes
2 answers

"order lost" in X-Cart in return section of payment module

I wrote a payment module for X-Cart. My return url section is: require './auth.php'; if (!func_is_active_payment('cc_mellat.php')) …
Ariyan
  • 14,760
  • 31
  • 112
  • 175
0
votes
1 answer

what is cc_pp3_data table in XCart's database?

I'm trying to write a payment module for XCart 4.4.4 . There is a cc_pp3_data table in DB that all of other payment modules run this query on it: db_query("REPLACE INTO $sql_tbl[cc_pp3_data] (ref,sessionid, param1) VALUES…
Ariyan
  • 14,760
  • 31
  • 112
  • 175
0
votes
1 answer

while retreving the data using ajax getting an error message

I posting my value through ajax and using the response the details will be displayed.I am getting the problem while retreiving the data.But i dono where i have mistaked,then this is the error getiing displayed frequently "There was a…
chandru_cp
  • 184
  • 1
  • 13
0
votes
1 answer

X-Cart stopped working, it seems like it goes somewhere and never comes back

I am facing a very strange issue in X-Cart, I am working on localhost. It was working fine and now it is not working anymore. It shows nothing but a blank page, it seems like it goes somewhere and then doesn't come back. We installed another X-Cart…
Hafiz
  • 4,187
  • 12
  • 58
  • 111
0
votes
1 answer

Getting the data from backend to display it on Front end in X-CART

I am working on a X-Cart Module. I need the backend configuration values to the front end. In admin/configuration file I have created an array which contains the value which I need to use it in adv_search.php which is in the root folder. I don't…
samir chauhan
  • 1,543
  • 1
  • 17
  • 42
0
votes
1 answer

X-Cart version 4.0 - password reset via phpmyadmin

We are hosting a site based on X-Cart version 4.0 and we need to log into the /admin area. The e-mail password reset option does not work. The e-mail comes through but the password in the e-mail does not work. Does anyone know how I can reset the…
JTG
  • 35
  • 1
  • 7
0
votes
1 answer

Specify Multiple Images for a Product in an X-Cart File

I'm creating an X-Cart file for a number of products from data in a SQL database, each product may have multiple images. Is there a way of adding multiple images per product. I've consulted the file specification here but that suggests there is…
HotblackDesiato
  • 350
  • 1
  • 8
0
votes
1 answer

"error": "invalid_grant", "error_description": "Bad Request" when i am trying to login with gmail

this is my get access token method protected function getAccessToken($code) { $request = new \XLite\Core\HTTP\Request(static::TOKEN_REQUEST_URL); $request->body = array( 'code' => $code, 'client_id' => $this->getClientId(), …
0
votes
3 answers

In XCart, how can I list the subcategories within a category?

In my XCart 4.4.2 installation, I have a few major categories of products, each containing several subcategories. On the home page, I'd like to list the subcategories within each category but am having trouble accessing the subcategories from…
Vivek
  • 137
  • 1
  • 11
0
votes
1 answer

How do you add options to an XCart template?

I'm developing a template for a website running XCart. I'd like to make it easy for people to change some of the home page content easily without needing to edit any code. Is there way to add configurable options to my template that can be edited in…
Vivek
  • 137
  • 1
  • 11
0
votes
2 answers

How can I remove or edit the per page section in Products list (X-cart)

I need to edit some css but I couldn't find the place to change the template for per page dropdownlist I guess the code is generated by $content variable but how can I modify it ??? If you have a clue, please answer me... thanks for advance
0
votes
1 answer

X-Cart error after upgrade

I am upgrading X-Cart on my home laptop with a developer license, so the live store is not impacted during the upgrade. After upgrading from 4.4 - 4.4.3, I receive the following error when I try to reload the admin page: > ( ! ) Fatal error:…
Steve
  • 2,066
  • 13
  • 60
  • 115
0
votes
1 answer

Xcart - How to delete rows from table in Xcart

I am using X-Cart for my project, I need help in how to perform delete query in X-cart. Currently, I am using the below code but it showing me an error. Can anyone help me in this?? $products =…
0
votes
1 answer

Slow x-cart cart page

I have a x-cart 4.1.3 webshop with PHP 5.3 in cart.php you have 2 requests with LEFT JOIN is it possible to change that to INNER JOIN ? Or is any other optimisation possible ? Here the code: $products_array = func_query_first("SELECT…
Jan
  • 1
  • 1
0
votes
2 answers

Xcart classic - Products randomly appearing disappearing from the cart

I am using xcart classic 4.7.1 for my shop. We did a lot of customization in the code to make it suitable for my clients need. We made it live the previous year and everything worked fine. Now, these days a strange issue is happening. The products…