Questions tagged [oscommerce]

Open source e-commerce application based on PHP & MySQL. The project was started in 2000 by Harald Ponce de Leon and is one of the most popular e-commerce applications.

osCommerce is an open source e-commerce application based on PHP & MySQL. The project was started in 2000 by Harald Ponce de Leon and is one of the most popular e-commerce applications with an estimated usage rate of almost 13,000 registered live stores and an active community with almost 250,000 members. Given the wide spread usage and large developer community, there is a large and diverse range of add-ons available (6000+) making the software easy to extend.

osCommerce is still officially in "development stage", although the current 2.3.4 version is stable. The planned Milestone 3.0 release is a major re-write of the code base. An early release candidate of 3.0 has been available for download since March 2007.

On March 15th 2009 osCommerce Online Merchant v3.0 Alpha 5 was released. With this release the programmers concentrated on core features in hopes of a much faster release schedule. Key features of this release included a new object-oriented framework, new templating system, additional search engine optimization features and updated payment modules among many others.

Announced at the same time was the "Social Coding on Github" initiative which was introduced to attract additional developers to the project in hopes of speeding up the release cycle.

The most popular osCommerce versions today are Phoenix edition and Solomono edition.

353 questions
0
votes
1 answer

oscommerce admin login Error

i installed this template in oscommerce now the page after the login not displayed it shows the following error Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in D:\xampp\htdocs\domain\admin\login.php…
raja sekar
  • 1
  • 1
  • 1
0
votes
1 answer

osCommerce - Duplicating payment modules

I'm wondering on how to duplicate a payment module...bascially what I'm trying to do is to have 3 Cash on Delivery modules but with different names. How can I accomplish that? Haven't had any luck finding any answers so I posted this question…
shish
  • 893
  • 1
  • 12
  • 20
0
votes
1 answer

mysql - monthly sales of each item in a year

Table: orders orders_id customers_id customers_name date_purchased orders_status 1 31 aa AA 2014-08-17 01:31:14 3 3 32 bb BB 2014-08-17 01:35:47 3 4 …
Raccoon
  • 1,367
  • 4
  • 22
  • 45
0
votes
1 answer

Issue with certain characters sent through mail

I have a site done in Oscommerce. While sending the confirmation mails of products, in french, certain product names are not displayed properly in mails. It is displaying properly for me, but for my client, it is not showing in the correct…
Leo T Abraham
  • 2,407
  • 4
  • 28
  • 54
0
votes
1 answer

osCommerce: custom price based on user input

I am writing a simple JavaScript which will update my price automatically (I know there are addons but they dont work with the nature of my products) when the user enters amount, size etc etc. I want to know how do I override the product price…
shish
  • 893
  • 1
  • 12
  • 20
0
votes
1 answer

Restrict osCommerce Shopping Cart To Only Allow 1 Item For All Special Items(discounted items)

I don't want customers to add more than one unique item in their basket(For All Special Items[Discounted Items] in osCommerce. I know that for the same product the multiple count can be restricted by setting: Admin → Configuration → Maximum values →…
Raphael
  • 67
  • 1
  • 6
0
votes
1 answer

oscommerce : Change thumb image prospactive to Original product image

i want ot change new product images prospective to original images. when i am upload image for product , images are squazed so any help?
Tonny
  • 1
  • 1
0
votes
1 answer

Sending email with an attachment in osCommerce

I'm trying to send 2 attachments with every order (terms and conditions), but it doesn't seem to work , since I'm receiving 0kb files attached. The permissions are correct and the files do exist. This is the function: function…
0
votes
1 answer

Oscommerce PayPal IPN still Status pending

I'm working with oscommerce and i have problem with Paypal ipn When someone makes a payment, even though the money is coming through OK, on the backend of the website it is saying it is unverified something like that : PayPal IPN Verified…
ron
  • 450
  • 9
  • 23
0
votes
2 answers

How to determine size of an tep_db_fetch_array inside a while loop?

Can't get this. How to determine size of an tep_db_fetch_array inside a while loop? I would like to do this: $i=0; while($a = tep_db_fetch_array($query)){ if($i==5){ // start a div i.e. } //do sth here if($i>=count($a)){ //close the…
Viktor
  • 623
  • 4
  • 10
  • 25
0
votes
1 answer

OsCommerce - Custom URLs

I understand there are a few SEO plugins for OsCommerce, however none of theme seem to allow me to specify a custom slug for a product. Essentially, I want to rewrite this: http://www.example.com/category/nice-product-slug to the default…
djt
  • 7,297
  • 11
  • 55
  • 102
0
votes
1 answer

sql select then update results where

I am trying to update Qty column where suppliers_stock_code = '" . $itemno . " but products_model does not contain '--' I have tried $sql = "UPDATE products set suppliers_qty = '" . $qty . "' (SELECT suppliers_stock_code, products_model from…
ShaGGy
  • 3
  • 5
0
votes
1 answer

How to Pin thumbnails in Oscommerce

I would like to know how to pin the thumbnails generated by oscthumb.php using the Oscthumb addon in an Oscommerce store. I use below code to display the thumbnail on my productinfo.php page -
Yuki
  • 29
  • 6
0
votes
1 answer

OScommerce How To Put Class in oscommerce function tep_draw_radio_field

This is the code: echo tep_draw_radio_field('payment', $selection[$i]['id']); and I want to put class on the tep_draw_radio_field So the output would be:
Raphael
  • 67
  • 1
  • 6
0
votes
1 answer

Change an ereg_replace to preg_replace function in osComerce

I am trying to move an old osCommerce site to a new server and have a question about a deprecated function. I need to change ereg to preg_match. This is the original code: function _filter_save_image ($products_delete_image) { …