Questions tagged [zen-cart]

Free open source shopping cart software written in PHP, originally as a fork of osCommerce

Zen Cart is an online store management system. It is PHP-based, using a MySQL database and HTML components. Support is provided for numerous languages and currencies, and it is freely available under the GNU General Public License.

Zen Cart branched from osCommerce as a separate project in 2003. Beyond some aesthetic changes, the major differences between the two systems come from Zen Cart's architectural changes (for example, a template system) and additional included features in the core.

Links

289 questions
0
votes
1 answer

linking back to facebook tab url

I added a code to my zencart products page that is integrated into a facebook tab so that a user can "like" a product and it is posted on their wall with a picture of the product and a link back to the product (I copied the code from this site:…
ristenk1
  • 425
  • 2
  • 6
  • 25
0
votes
2 answers

php...target='_blank'

I want to open a new window after clicking a button and I'm trying to modify the code within Zencart. I think I'm trying to manipulate it in the right place... but I don't know how to go about it: (For anyone that does know Zencart this was in the…
ristenk1
  • 425
  • 2
  • 6
  • 25
0
votes
2 answers

Setting a cookie for two domains

I'm trying to set two cookies for the same site. (Except one is a HTTP and one is a HTTPS site.) $cookie_domain_http = parse_url(HTTP_SERVER); $cookie_domain_https = parse_url(HTTPS_SERVER); Assuming that HTTP_SERVER contains…
Paul Williams
  • 1,459
  • 7
  • 34
  • 67
0
votes
1 answer

Setting up Zencart with Paypal

To begin: I am trying to setup Zencart with Paypal. I have followed all of Paypal and Zencart's instructions: Putting in Paypal's API username, password and signature code into Zencart's Payment Module section. Checked the "live" environment. I…
ristenk1
  • 425
  • 2
  • 6
  • 25
0
votes
1 answer

how to resolve error while redirecting from one page to another in zen-cart

I want to update a value of database while changing the options in the dropdown list. After upadation ctrl redirect back to the orders page. Now the updation is working properly but it couldn't back to orders page. I'm using the following code for…
Natasha
  • 962
  • 3
  • 14
  • 33
0
votes
0 answers

show stock level in zen cart for particular attributes

I have my zen cart online shop. Issue I am facing is , I want to show stock availability for particular attributes of product. Suppose I have Reebok shoes and having different colors Blue , White and Grey. And each having 3 different sizes. e.g. 8,…
Jinal Dabhi
  • 151
  • 1
  • 1
  • 11
0
votes
1 answer

Will lots of small sql statements slow my site down significantly

I have a zen-cart with 25-30 categories. On the front page of the site each category will get it's own little area in which the 4 best selling products in that category will be displayed. Being a bit of a noob the best way I can think of doing this…
Zaphod Beeblebrox
  • 552
  • 3
  • 10
  • 35
-1
votes
3 answers

preg_replace in PHP

$content = preg_replace('%^\s*
    (.+)
\s*$%sim', '\1', $menulist); What is the meaning of first argument in the above function? If I print $content I get the following categories as below: Business Accounting Accounting For…
fawad
  • 1,183
  • 9
  • 29
  • 48
-1
votes
1 answer

Zen Cart shipping estimator

I'm working on zen-cart and I'm new to it, here is my situation. There is one live site, one development site and localhost. The development site functionality are same as the live site, My problem is when I click estimate shipping the amount I get…
-1
votes
2 answers

accessing array value in for loop

I am building an array in loop and the results below it for testing purposes: $email_array[]= array( 'email' => $fnd_result->fields['email'], 'name' => $fnd_result->fields['name'] ); //$emailArray ( [0] => Array …
JLongBeard
  • 13
  • 8
-1
votes
1 answer

Upgrading Sage to V3 problems

I am running zencart and use an add on module for sagepay form. I have just upgraded this to the latest version which should comply to v3 but when I log into mysagepay it still says I need to upgrade to V3. Is there somewhere else I should be…
-1
votes
3 answers

Zen Cart language packs

I have one Zen Cart website in the English language. I want to make the same website in French and Italian languages. How can I do this? I mean, if I install language packs for Zen Cart, will this convert all the site and data inside the database in…
air
  • 5,602
  • 25
  • 86
  • 124
-1
votes
1 answer

Zen-cart website too much parse and query time on a page

We just moved our site to godaddy hosting and the our zencart site http://www.boostpromotions.com/zen_new/index.php?main_page=index&cPath=63 takes a considerable amount of time loading the product pages. Parse Time: 18.164 - Number of Queries: 7726…
-1
votes
1 answer

Create a pop up page when loading a page in Zen Cart

I have a Zen Cart project and I want to show an AJAX pop up box (on body load). Pop up must be shown only on the home page. Is it possible?
testadmin
  • 17
  • 6
-1
votes
1 answer

what is this complex expression meaning?

code1 is a code from zencart core php file, I am confused what it is. is code1 equal to code2 ? and what is the & ~ meanning ? =') ? E_ALL & ~E_DEPRECATED & ~E_NOTICE :…
mingfish_004
  • 1,223
  • 2
  • 16
  • 26
1 2 3
19
20