Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Posts
    6
    Plugin Contributions
    0

    Default Customizing order confirmation page

    Good evening,

    I need to add a code segment onto my order confirmation page for the customer to have the ability to rate their transaction:

    <script type="text/javascript"><!--
    // Adjust the values of popup_pos_x, popup_pos_y to change the location of the popup layer on your confirmation page
    popup_pos_x=50;
    popup_pos_y=50;
    // fill in the order number below
    popup_order_number = '';
    // fill in the email address below
    popup_email = '';
    //-->
    </script>
    <!-- PriceGrabber Merchant Evaluation Code -->
    <script type="text/javascript" charset="UTF-8" src="https://www.pricegrabber.com/rating_merchrevpopjs.php"></script>
    <noscript><a href="https://www.pricegrabber.com/rating_merchrev.php6" target=_blank>
    <img src="https://images.pricegrabber.com/images/mr_noze.jpg" border="0" width="272" height="238" alt="Merchant Evaluation"></a></noscript>
    <!-- End PriceGrabber Code -->

    BUT I am unsure how to get the correct values into the order number and the email. Can anyone tell me how I need to tackle adding this code segment into my order confirmation page?

    Thanks in advance,

    Wade

  2. #2
    Join Date
    Dec 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: Customizing order confirmation page

    hey dude,

    on tpl_checkout_success_default.php

    <script type="text/javascript"><!--
    // Adjust the values of popup_pos_x, popup_pos_y to change the location of the popup layer on your confirmation page
    popup_pos_x=50;
    popup_pos_y=50;
    // fill in the order number below
    popup_order_number = '<?php echo $zv_orders_id; ?>';
    // fill in the email address below
    popup_email = '<?php echo $orders->fields['customers_email_address'] ; ?>';
    //-->
    </script>
    <!-- PriceGrabber Merchant Evaluation Code -->
    <script type="text/javascript" charset="UTF-8" src="https://www.pricegrabber.com/rating_merchrevpopjs.php?retid=11668"></script>
    <noscript><a href="https://www.pricegrabber.com/rating_merchrev.php?retid=11668" target=_blank>
    <img src="https://images.pricegrabber.com/images/mr_noprize.jpg" border="0" width="272" height="238" alt="Merchant Evaluation"></a></noscript>
    <!-- End PriceGrabber Code -->

    Now, if you have any idea why mine isn't actually popping up at all that would be excellent... because i know the codes right and its populating in the source code, but its just refusing to pop up...

 

 

Similar Threads

  1. Customizing Order Confirmation Emails
    By swilliams88 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Aug 2012, 08:52 PM
  2. How do I add Order Details to the Order Confirmation page?
    By bigstore in forum General Questions
    Replies: 2
    Last Post: 28 Feb 2012, 04:25 PM
  3. Replies: 3
    Last Post: 27 Oct 2010, 10:37 PM
  4. Customizing the Order Confirmation email
    By Beau91324 in forum General Questions
    Replies: 4
    Last Post: 3 Jul 2010, 02:36 AM
  5. Customizing order confirmation page
    By wadecbecker in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Jun 2009, 10:34 PM

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