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
11
votes
2 answers

Smarty If URL Contains

Using Smarty Tags I'd like to determine if an URL contains a word, something like: {if $smarty.get.page contains "product.php"} ..... I know contains doesn't exist, but how could I easily go about writing something similar to achieve the above…
99823
  • 2,407
  • 7
  • 38
  • 60
7
votes
2 answers

How to implement angularjs in x-cart

Currently, I am working on x-cart and as you guys know x-cart is working on smarty template engine. Now my client wants angularjs in x-cart. Have tried so many things but unable to implement it. Have surfed on google but I also didn't get anyway. …
4
votes
4 answers

store value in session and retrive on tpl file xcart

i am facing problem in x-cart, i am trying to create session and store value in x-cart for that, i used x_session_register('subscription'); and the simple variable in it $rs=1; if($rs==1) { $subscription=1; } else { $subscription=0; } after…
user3635340
  • 41
  • 1
  • 4
3
votes
0 answers

X-cart form fields get empty on blur event

I'm using X-cart 5 and trying to create a new form following this tutorial from X-cart's website. I have successfully created the form and it is displayed correctly. However, if I specify field type that is not X-cart's (for instance if I use…
user
  • 31
  • 2
3
votes
3 answers

Remove .html from url

I want to remove .html from all url's of site, I am working on x-cart and want to make it possible using .htaccess RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule…
Karan Adhikari
  • 485
  • 1
  • 5
  • 16
2
votes
1 answer

Remove rows from a result set that may include the same email address

I have the following MySQL query. SELECT login, firstname, lastname, email FROM xcart_customers WHERE login LIKE 'anonymous%' AND email NOT IN ( SELECT email FROM xcart_customers AS cx WHERE …
DevelumPHP
  • 155
  • 1
  • 8
2
votes
1 answer

PHP shopping cart

The current site I am supporting is going to become eCommerce. And naturally they need a shopping cart to support it. There will be some sophistication in the sense that they would need to support multiple currencies, multiple languages, delivery…
Undefined Variable
  • 4,196
  • 10
  • 40
  • 69
2
votes
6 answers

How to undo move files from filezilla

I have one problem about filezilla. I accidentally move one folder to wrong directory, so it shows the errors when I view my website. How can I solve it? Please help me. Many thanks in advance for your answer.
Men Pachak
  • 59
  • 1
  • 1
  • 4
2
votes
1 answer

XCART-5 Get Attributes Values in programming and Assigning some other values progmatically

I am working on Xcart-5 website customization. And I created my own module and doing work on that. I just created some Global Attributes (" As a Plain text ") field and assign these attributes to some product. Now I want to access these fields…
Azharuddin
  • 27
  • 3
2
votes
2 answers

POST Method not working in form submission?

I've set up a product enquiry page so that people can submit questions straight from the product details page. I'd like to post some variables from the product details page to the enquiry page, but when I use the POST method it does not work (I'm…
versha
  • 107
  • 1
  • 1
  • 7
2
votes
4 answers

Hiding PHP / MySQL error message

I have a website based on X-Cart. It’s working fine. However, when I go to the address (manually accessing the link) www.mysite.com/"XxxX I get this error message: INVALID SQL: 1064 : You have an error in your SQL syntax; check the…
Yahoo
  • 4,093
  • 17
  • 59
  • 85
1
vote
2 answers

getting an error msg while using file_get_contents()

I am getting an warning messsage like this Warning: file_get_contents() [function.file-get-contents]: stream does not support seeking this is the…
chandru_cp
  • 184
  • 1
  • 13
1
vote
1 answer

Showing Up of Product Options on Products List

how to show product options on product list in xcart 4.4.2.Under the Men's Clothes category, in shirts, I need to show options like color,size on shirts list itself.Now currently it is in shirt details page.Can anybody help me please.
user806792
1
vote
1 answer

is it safe to delete x-cart cache files?

I am using an xcart eshop. The site is working fine but it has created more than 5 GB of data in tha datacahce folder. My question is: Is it safe to simply delete all these files as well as the file structure under the folder datacache in order to…
mike
  • 31
  • 2
1
vote
2 answers

PayPal Website Payments Pro: Express Checkout: How to Hide "Purchase Details" in Paypal?

PayPal Website Payments Pro: Express Checkout: How to Hide "Purchase Details" in Paypal in the following page: https://www.paypal.com/myaccount/transactions/details/xxxxxxxxxxxxxxx. In other words, I don't want the entire invoice or list of goods…
John
  • 11
  • 1
1
2 3
11 12