Jump to content
Latest News: (loading..)

Search the Community

Showing results for tags 'code'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
    • Partner Announcements
    • Ambassadors
  • Commercial Support
    • Developer Feedback
  • osCommerce Online Merchant v2.x
    • General Support
    • Installation and Configuration
    • Upgrading from Earlier Versions (v2.x to v2.x)
    • Add-Ons
    • Tips and Tricks
    • Security
  • Development
    • osCommerce Online Merchant v2.4
    • osCommerce Online Merchant Community Bootstrap Edition
    • osCommerce Online Merchant v3.x
    • Development Proposals
  • General
    • OSCOMMERCE.TV
    • Next Steps / Optimizations / Marketing
    • Live Shop Reviews
    • E-Commerce Laws
    • General Discussions
    • PHP / SQL / Web Design
  • oscBooks and oscTemplates's Announcements
  • Mini Template System's Announcements
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements

Found 3 results

  1. Hi, I got a oscommerce 2.3.4 website and I'm installing this addon: Imprint Text Options -> https://apps.oscommerce.com/wLYWg&imprint-text-options This is a old addon I found but is exactly what I need. It works fine but there's a problem if I choice two products it gets the same attributes for both. Also ... session_id = '" . $osCsid . "'"); As not working had to change it to: tep_session_id() so it could insert the session_id into database. Then I tried instead of normally product_id using the products_id with the variables like this -> 270{10}86{1}15{8}64{7}70{5}49{2}26{6}57{4}42{9}85 so even if the product if the same at least if any attributes changes it would show a different one. But this to work correctly I need to change in the database the column products_id which is int(11) and primary key. In the database others products_id are tinytext. But always I try to change I get something about blob so I can't change it to allow those special characters. Here is the sql of the installation: DROP TABLE IF EXISTS customers_basket_text_attributes; CREATE TABLE customers_basket_text_attributes ( session_id varchar(255) NOT NULL default '', products_id int(11) NOT NULL default '0', products_text_attributes_id int(11) NOT NULL default '0', products_text_attributes_text text NOT NULL, PRIMARY KEY (session_id,products_id,products_text_attributes_id) ) ENGINE=MyISAM; DROP TABLE IF EXISTS orders_text_attributes; CREATE TABLE orders_text_attributes ( orders_id int(11) NOT NULL default '0', products_id int(11) NOT NULL default '0', products_text_attributes_id int(11) NOT NULL default '0', products_text_attributes_text text NOT NULL, PRIMARY KEY (orders_id,products_id,products_text_attributes_id) ) ENGINE=MyISAM; DROP TABLE IF EXISTS products_text_attributes; CREATE TABLE products_text_attributes ( products_text_attributes_id int(11) NOT NULL auto_increment, products_text_attributes_name varchar(255) NOT NULL default '', PRIMARY KEY (products_text_attributes_id) ) ENGINE=MyISAM; INSERT INTO products_text_attributes (products_text_attributes_id, products_text_attributes_name) VALUES (1, 'Mes'); INSERT INTO products_text_attributes (products_text_attributes_id, products_text_attributes_name) VALUES (2, 'Ano'); INSERT INTO products_text_attributes (products_text_attributes_id, products_text_attributes_name) VALUES (3, 'Geracao'); DROP TABLE IF EXISTS products_text_attributes_enabled; CREATE TABLE products_text_attributes_enabled ( products_id int(11) NOT NULL default '0', products_text_attributes_id int(11) NOT NULL default '0', PRIMARY KEY (products_id,products_text_attributes_id) ) ENGINE=MyISAM; Any suggestion or help would be really great, would appreciate it a lot. Best regards.
  2. This following package is based on the Discount Code for osCommerce 2.3.1 Addon. I was able to reduce the install process from 16 steps down to 9 steps. Database tables and filenames definition have been removed. I tried to keep the code changes to a minimum. SQL install/uninstall is done automatically with the ot_ module. Download:
  3. Ok Heres the issue(s) Warning: include(html/includes/languages/english/modules/boxes/checkout_process.php) [function.include]: failed to open stream: No such file or directory in /home/content/03/7529303/html/admin/modules.php on line 129 Warning: include() [function.include]: Failed opening '/home/content/03/7529303/html/includes/languages/english/modules/boxes/checkout_process.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in html/admin/modules.php on line 129 Parse error: syntax error, unexpected T_STRING in html/includes/modules/boxes/checkout_process.php on line 3 Modules Sort Order What am I doing wrong? My whole use for this addon is to get it so that my attributes have seperate stock in them so that I can say; String Necklace with attributes such as Red 3 available, Blue 4 available, Green 1 left, black 12 Available and so on... If anyone has any suggestions about an addon and maybe a tut to install them that would be fantastic. Any help is GREATLY appreciated (!) (!) (!)
×