sharifnaim Posted February 8, 2019 Share Posted February 8, 2019 Hi all, My online payment company successfully configured the payment module, however, they require to add a code to the site. The theme develpers dont provide support on payment/shipping modules implementation/configuration. Any one can help how and where to insert the following code please. Many thanks for your kind help <div class="ccbillWidgetContainer"><script type="text/javascript" class="CCBillWidgeta3c79fcc-96a5-4605-beef-2ca8ce31291e_12002" src="https://images.ccbil…lexforms/ccbill-widget-live.js"></script></div> Link to comment Share on other sites More sharing options...
joseantgv Posted February 8, 2019 Share Posted February 8, 2019 It's not that easy as copy a code. You need to develop a module to integrate this payment method. Link to comment Share on other sites More sharing options...
sharifnaim Posted February 8, 2019 Author Share Posted February 8, 2019 34 minutes ago, joseantgv said: It's not that easy as copy a code. You need to develop a module to integrate this payment method. The module is already installed. This code suppose to be a wiget payment to add it to the site Link to comment Share on other sites More sharing options...
joseantgv Posted February 8, 2019 Share Posted February 8, 2019 Then try to copy this code in the template where do you want to display the widget and check what appears. Link to comment Share on other sites More sharing options...
sharifnaim Posted February 8, 2019 Author Share Posted February 8, 2019 3 minutes ago, joseantgv said: Then try to copy this code in the template where do you want to display the widget and check what appears. This is what I am trying to do. The problem is I dont know which and where to find the templates Link to comment Share on other sites More sharing options...
joseantgv Posted February 8, 2019 Share Posted February 8, 2019 Do you use PS 1.6 o 1.7? Link to comment Share on other sites More sharing options...
sharifnaim Posted February 8, 2019 Author Share Posted February 8, 2019 1 hour ago, joseantgv said: Do you use PS 1.6 o 1.7? I use 1.6.1 Link to comment Share on other sites More sharing options...
joseantgv Posted February 9, 2019 Share Posted February 9, 2019 Then you have to edit /themes/YOUR-THEME Link to comment Share on other sites More sharing options...
sharifnaim Posted February 9, 2019 Author Share Posted February 9, 2019 5 hours ago, joseantgv said: Then you have to edit /themes/YOUR-THEME Hi joseantgv, Many thanks for your replies. Its more than appreciated. again, I dont know into which template to add this code and also amazon pay code. If you can highlight which files to edit, I will be greatful! Link to comment Share on other sites More sharing options...
joseantgv Posted February 9, 2019 Share Posted February 9, 2019 1 hour ago, sharifnaim said: Hi joseantgv, Many thanks for your replies. Its more than appreciated. again, I dont know into which template to add this code and also amazon pay code. If you can highlight which files to edit, I will be greatful! AFAIU, the widget should appear where you copy this code. I don't know where do you want to display it! Link to comment Share on other sites More sharing options...
sharifnaim Posted February 9, 2019 Author Share Posted February 9, 2019 6 minutes ago, joseantgv said: AFAIU, the widget should appear where you copy this code. I don't know where do you want to display it! Well I think this code suld be everywhere as payment method. Looking at sites like ebay and amazon, it displayed on all pages As an expert in prestashop, where do you think these codes should be? Link to comment Share on other sites More sharing options...
joseantgv Posted February 9, 2019 Share Posted February 9, 2019 13 minutes ago, sharifnaim said: Well I think this code suld be everywhere as payment method. Looking at sites like ebay and amazon, it displayed on all pages As an expert in prestashop, where do you think these codes should be? I don't know how this payment method works. Try to add it at header.tpl after <body> tag and see what happens. Link to comment Share on other sites More sharing options...
sharifnaim Posted February 9, 2019 Author Share Posted February 9, 2019 27 minutes ago, joseantgv said: I don't know how this payment method works. Try to add it at header.tpl after <body> tag and see what happens. Great my friend. I will add it and see how it goes and let you know. does also google static code goes in the same template? Link to comment Share on other sites More sharing options...
joseantgv Posted February 9, 2019 Share Posted February 9, 2019 (edited) On 2/9/2019 at 4:20 PM, sharifnaim said: Great my friend. I will add it and see how it goes and let you know. does also google static code goes in the same template? It should be in header.tpl. Edited February 11, 2019 by joseantgv (see edit history) Link to comment Share on other sites More sharing options...
sharifnaim Posted February 9, 2019 Author Share Posted February 9, 2019 1 hour ago, joseantgv said: It should be in head.tpl. I tried to add the code to the deader. first I couldnt find the <body> string, secondly, when I put the code under <header> it gave server error. Dont know what to do 😓 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now