Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2010
    Posts
    38
    Plugin Contributions
    0

    help question Google Shopping Integration Help - add Google Order Confirmation Module Code

    Hello and thanks in advance for any assistance!

    I need to add the following code to the order confirmation page (presumably checkout_confirmation.php). Or is there a tpl file involved here?

    The code which must be added is:

    Code:
    <!-- START Trusted Stores Order -->
    <div id="gts-order" style="display:none;">
    
      <!-- start order and merchant information -->
      <span id="gts-o-id">MERCHANT_ORDER_ID</span>
      <span id="gts-o-domain">MERCHANT_ORDER_DOMAIN</span>
      <span id="gts-o-email">CUSTOMER_EMAIL</span>
      <span id="gts-o-country">CUSTOMER_COUNTRY</span>
      <span id="gts-o-currency">CURRENCY</span>
      <span id="gts-o-total">ORDER_TOTAL</span>
      <span id="gts-o-discounts">ORDER_DISCOUNTS</span>
      <span id="gts-o-shipping-total">ORDER_SHIPPING</span>
      <span id="gts-o-tax-total">ORDER_TAX</span>
      <span id="gts-o-est-ship-date">ORDER_EST_SHIP_DATE</span>
      <span id="gts-o-has-preorder">HAS_BACKORDER_PREORDER</span>
      <span id="gts-o-has-digital">HAS_DIGITAL_GOODS</span>
      <!-- end order and merchant information -->
    
      <!-- start repeated item specific information -->
      <!-- item example: this area repeated for each item in the order -->
      <span class="gts-item">
        <span class="gts-i-name">ITEM_NAME</span>
        <span class="gts-i-price">ITEM_PRICE</span>
        <span class="gts-i-quantity">ITEM_QUANTITY</span>
        <span class="gts-i-prodsearch-id">ITEM_GOOGLE_SHOPPING_ID</span>
        <span class="gts-i-prodsearch-store-id">ITEM_GOOGLE_SHOPPING_ACCOUNT_ID</span>
        <span class="gts-i-prodsearch-country">ITEM_GOOGLE_SHOPPING_COUNTRY</span>
        <span class="gts-i-prodsearch-language">ITEM_GOOGLE_SHOPPING_LANGUAGE</span>
      </span>
      <!-- end item 1 example -->
      <!-- end repeated item specific information -->
    
    </div>
    <!-- END Trusted Stores -->
    That seems easy enough, but where do I add this?

    The checkout_confirmation.php is simple enough, but it's written in php and I need to add html code.



    Code:
    <?php /**
     * @package languageDefines
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: checkout_confirmation.php 4067 2006-08-06 07:26:21Z drbyte $
     */
    
    define('NAVBAR_TITLE_1', 'Checkout');
    define('NAVBAR_TITLE_2', 'Confirmation');
    
    define('HEADING_TITLE', 'Step 3 of 3 - Order Confirmation');
    
    define('HEADING_BILLING_ADDRESS', 'Billing/Payment Information');
    define('HEADING_DELIVERY_ADDRESS', 'Delivery/Shipping Information');
    define('HEADING_SHIPPING_METHOD', 'Shipping Method:');
    define('HEADING_PAYMENT_METHOD', 'Payment Method:');
    define('HEADING_PRODUCTS', 'Shopping Cart Contents');
    define('HEADING_TAX', 'Tax');
    define('HEADING_ORDER_COMMENTS', 'Special Instructions or Order Comments');
    // no comments entered
    define('NO_COMMENTS_TEXT', 'None');
    define('TITLE_CONTINUE_CHECKOUT_PROCEDURE', '[I'd put the Google code here, if possible.]<strong>Final Step</strong>');
    define('TEXT_CONTINUE_CHECKOUT_PROCEDURE', '- continue to confirm your order. Thank you!');
    
    define('OUT_OF_STOCK_CAN_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' are out of stock.<br />Items not in stock will be placed on backorder.');
    
    ?>
    Or... is there a tpl file that would make this easier?

    Thanks!

  2. #2
    Join Date
    Jun 2010
    Posts
    38
    Plugin Contributions
    0

    Default Re: Google Shopping Integration Help - add Google Order Confirmation Module Code

    Bump... :)

 

 

Similar Threads

  1. v151 Need Help with Google Certified Shopping Code
    By riolas in forum General Questions
    Replies: 13
    Last Post: 20 Feb 2015, 07:34 PM
  2. v150 Need help with Google Shopping Integration
    By VBE-1 in forum General Questions
    Replies: 1
    Last Post: 21 Oct 2012, 07:04 AM
  3. v150 add Google AdSense & google +1 button can some please help me
    By alcanlove in forum General Questions
    Replies: 8
    Last Post: 5 Jul 2012, 02:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR