Search found 113 matches

Search found 113 matches

Re: Google Analytics Ecommerce Tracking

Second post it mentions ...In catalog/controller/checkout/success.php...

The extension says compatible with 1.4.9.5

That may play havoc with me being on 1.4.7.

But let me know how it goes for sure.

Jump to post
  • Sat May 28, 2011 2:53 am
  • Replies 139
  • Views 91360
Re: Google Analytics Ecommerce Tracking

It's within this same topic, but meant to repost:

http://forum.opencart.com/viewtopic.php ... ilit=ecomm

Keep me posted on anything you come up with :)

Jump to post
  • Sat May 28, 2011 2:10 am
  • Replies 139
  • Views 91360
Re: Google Analytics Ecommerce Tracking

I am running 1.4.7 so can't yet do VQ Mods (I suspect). I see from another post off of this thread that someone indicated that "model_checkout_order" doesn't seem to have a "getOrderProducts" method anymore, and the shipping total was missing as well... they went on to say they used the following in...

Jump to post
  • Sat May 28, 2011 1:24 am
  • Replies 139
  • Views 91360
Re: Google Analytics Ecommerce Tracking

So I can confirm with an "else" statement, the "else" condition displays... maybe this helps us debug?

Jump to post
  • Sat May 28, 2011 12:36 am
  • Replies 139
  • Views 91360
Re: Google Analytics Ecommerce Tracking

Unfortunately, it didn't help with the end result and achieving the data expected. I can't see the Google Ecom tracking at all in page source, but even stranger... no apparent errors in OC admin. It's like the "if" statement is coming back "null" so no code shows up. I may try an "else" statement to...

Jump to post
  • Sat May 28, 2011 12:31 am
  • Replies 139
  • Views 91360
Re: SEO add canonical links to 1.4.7

Yes, .htaccess edit Here's mine: # Added for non www queries RewriteCond %{HTTP_HOST} !^www\. RewriteRule (.*) http://www.%{HTTP_HOST}/store/$1 [R=301,L] My OC install is in the "/store/" subdirectory so be sure to remove this if yours is not. Hope this is helpful. I originally found this by searchi...

Jump to post
  • Fri May 27, 2011 9:47 pm
  • Replies 14
  • Views 2552
Re: Google Analytics Ecommerce Tracking

Shouldn't your code closing tag: <?php foreach($orderProducts as $product) { ?> _gaq.push(['_addItem', "<?php echo $product['order_id']; ?>", "<?php echo $product['product_id']; ?>", <?php echo json_encode($product['name']); ?>, "<?php echo $product['model']; ?>", "<?php echo $product['price']+($pro...

Jump to post
  • Fri May 27, 2011 9:07 pm
  • Replies 139
  • Views 91360
Re: Products in code listed 8x - need expert help

I've resolved my code issues with this, thanks.

Jump to post
  • Thu May 19, 2011 8:38 am
  • Replies 3
  • Views 501
Re: Products in code listed 8x - need expert help

I presume you mean home.tpl code. Here that is: <?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?> <div id="content"> <div class="top"> <div class="left"></div> <div class="right"></div> <div class="center"> <h1><?php echo $heading_title; ?></h1> </div> <div id="column_mid...

Jump to post
  • Wed May 18, 2011 3:38 am
  • Replies 3
  • Views 501
Products in code listed 8x - need expert help

Can anyone help with a code problem that I have on my site located at http://www.stonehinged.com/store/ ? I had originally had the "Latest Products" section underneath the main image that appeared as 2 rows of 4 on the homepage. I later adapted this code for carousel functionality from another mod h...

Jump to post
  • Tue May 17, 2011 10:11 pm
  • Replies 3
  • Views 501
Re: SEO add canonical links to 1.4.7

Thanks for all your help on this one. Since it was writing the default URL incorrectly, I'm thinking it must be coded incorrectly somewhere else in another file since it pulled this format from <?php echo $this->model_tool_seo_url->rewrite( $link['href'] ); ?> Where should I check for this? In a con...

Jump to post
  • Fri May 13, 2011 3:12 am
  • Replies 14
  • Views 2552
Re: SEO add canonical links to 1.4.7

This appears to have done it:

Code: Select all

<link href="<?php echo $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/product&product_id='.$this->request->get['product_id']); ?>" rel="<?php echo $link['rel']; ?>" />
Thoughts?

Jump to post
  • Thu May 12, 2011 10:25 am
  • Replies 14
  • Views 2552
Re: SEO add canonical links to 1.4.7

Thanks, I've tried this code (thanks for providing a copy/paste), but it is still writing the URL as the default, like SEO is not activated, but it is. So, my header file now looks like this with the new code referenced: <base href="<?php echo $base; ?>" /> <link href="favicon.ico" type="image/x-ico...

Jump to post
  • Thu May 12, 2011 10:06 am
  • Replies 14
  • Views 2552
Re: SEO add canonical links to 1.4.7

Thanks jcsmithy, being a novice programmer at best, I'm not sure I understand exactly how to adapt this so that it writes the canonical link using the SEO friendly URL. If you wouldn't care, could you spell it out for me even further? How does the controller statement you've provided get applied to ...

Jump to post
  • Thu May 12, 2011 5:08 am
  • Replies 14
  • Views 2552
Re: SEO add canonical links to 1.4.7

So it looks like the variable is "seo_keyword" to use. How specifically should the code snippet be changed below? <?php foreach ($links as $link) { ?> <link href="<?php echo str_replace('&', '&', $link['href']); ?>" rel="<?php echo $link['rel']; ?>" /> <?php } ?> Just replace all instances of "$link...

Jump to post
  • Thu May 12, 2011 12:57 am
  • Replies 14
  • Views 2552
SEO add canonical links to 1.4.7

I have added the following code to my header.tpl file on 1.4.7: <?php foreach ($links as $link) { ?> <link href="<?php echo str_replace('&', '&', $link['href']); ?>" rel="<?php echo $link['rel']; ?>" /> <?php } ?> It appears everything is working but I have a question I'm hoping someone in the commu...

Jump to post
  • Wed May 11, 2011 2:58 am
  • Replies 14
  • Views 2552
Re: Need to remove checkout button from cart sidebox

Thanks to everyone who reviewed this request. I later realized this was a mod/enhancement to the original code and have opted to do something different instead. For those who might be interested, I had a customer who during checkout kept clicking the "Checkout" button in the module instead of the bu...

Jump to post
  • Fri May 06, 2011 3:15 am
  • Replies 1
  • Views 500
Need to remove checkout button from cart sidebox

Can someone assist with removal of the Checkout button from the Cart sidebox? I only want to show the Cart button. I have removed the checkout button code from /catalog/view/theme/default/module/cart.tpl but notice the Checkout button reappears as soon as I add an item to the cart. When I navigate t...

Jump to post
  • Thu Apr 28, 2011 10:02 am
  • Replies 1
  • Views 500
Re: Adding link to parent category in related products tab

Thanks so much avvici, I greatly appreciate your time and help. It's the community and folks like you that make using OC so great, especially us that are trying to pick up the code and knowledge as we go. I marvel at what you folks do! Thanks again!

Jump to post
  • Mon Apr 11, 2011 11:13 am
  • Replies 7
  • Views 2445

Search found 113 matches