![]() |
Help inserting Bizrate Code
I need to insert the following code to the page after a sucsessful purchase.But, alas I can't figure out what page/tpl file to use. Help
Code:
|
Re: Help inserting Bizrate Code
customer/main/order_message.tpl
Moving to Template Editing |
Re: Help inserting Bizrate Code
thanks for the quick reply.
|
Re: Help inserting Bizrate Code
Where in this file do you place it. Getting an error message from bizrate:
---- We're sorry! We couldn't process your submission. We are sorry but there was a problem determining the merchant you are trying to evaluate. If you are accessing the survey from an invitation email, the URL may have wrapped onto a second line. Please be sure that the complete URL is being used. |
Re: Help inserting Bizrate Code
What did you place and where?
|
Re: Help inserting Bizrate Code
placed this code
<!-- BEGIN: BizRate Survey Invitation HTML --> <script language="JavaScript" src="https://eval.bizrate.com/js/pos_XXXX.js" type="text/javascript"></script> after </tr> in the customer/main/order_message.tpl file <!-- END: BizRate Survey Invitation HTML --> |
Re: Help inserting Bizrate Code
I presume that you've just posted the XXXX in the url given to mask out your real merchant ID (yes i know state the bleeding obvious but just checking)
|
Re: Help inserting Bizrate Code
That's the problem, you can't put something between a </tr> and </table> tag. Put the code right at the end of the template, below the Google code.
|
Re: Help inserting Bizrate Code
That does not work either. Same message.
|
Re: Help inserting Bizrate Code
I just got done dealing with this issue. I contacted Bizrate and was informed that it can take 24-48 hours after you created your account for it to replicate though their system.
Also a way to check to see if it is X-cart or your account with Bizrate, do this. 1. Create a blank html "with notepad or what ever you want" 2. Past the code below into it. 3. Past YOUR Bizrate script over the fake one that is in the code and save. 4. Preview that page. You can this by opening your browser and click file - open file - then browse to the file. If it errors then it is not X-cart or the placement of the script in X-cart but the account itself. Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> If this file works but does NOT work in X-cart then please make sure you have added the script to skin1/customer/main/order_message.tpl UNDER this line Code:
{include file="modules/Google_Analytics/ga_commerce_form.tpl"} Hope this helps |
All times are GMT -8. The time now is 02:44 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.