Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mkosel

Members
  • Content count

    2
  • Joined

  • Last visited

  1. I currently have AJAX-AttributeManager-V2.8.9 installed with Attribute Sort with Attribute Clone 1_8 on my OSC Rc2a. When I go to add an option to a product I get the following error: If I add 'products_options_id' to the products_attributes table everything works okay. However, I don't know why that wasn't there to start off and don't want to to cause problems in the future. Also, I noticed that 'products_options_id' is a column in the table 'products_options' and was wondering if this was pointing to the wrong table? any advice? Thanks
  2. For anyone who may be trying to install google analytics V2 with STS, give this a try. I just figured it out and thought I'd share. I modified the instructions from arnoldl A SHORT INSTRUCTION FOR GOOGLE ANALYTICS E-COMMERCE WITH STS4 1 - install the google analytics files from the package as discribed. 2 - in checkout_success.php add just before : <?php if (DOWNLOAD_ENABLED == 'true') include(DIR_WS_MODULES . 'downloads.php'); ?> </table></form></td> <!-- body_text_eof //--> Add this code: <?php //google analytics require(DIR_WS_MODULES . 'analytics/analytics.php')?> 3 - in your template file (like includes/sts_templates/test/sts_template.html ) add just after : <!--$headcontent--> Add this code: <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-xxxxxxx-x"); pageTracker._initData(); pageTracker._trackPageview(); </script> 4 - don't forget to place this in every template file if you have more 5 - change the xxxxx-x to your ua- code from google 6 - don't thank me , thank the maker of the google analytics module and arnoldl :) Hope this helps
×