Oncilla Posted April 19, 2010 Share Posted April 19, 2010 When I get to the payment stage of the checkout, I run into problems. I click the 'Pay by Paypal' option and nothing happens. The link appears to be the following;[removed]$('#paypal_form').submit();But nothing happens - people can't make payments!Thanks in advance for any assistance. Link to comment Share on other sites More sharing options...
Oncilla Posted April 19, 2010 Author Share Posted April 19, 2010 This is somehow related to my theme. I have created a custom theme, and this problem only occurs when the custom theme is activated, not when I have the default theme activated.So yeah, basically it's the final step of payment, the payment options come up, but when you click on the Paypal option, nothing happens. Link to comment Share on other sites More sharing options...
Burhan BVK Posted April 19, 2010 Share Posted April 19, 2010 Check your header.tpl file and make sure you have all the script tags from the original file. Link to comment Share on other sites More sharing options...
Oncilla Posted April 19, 2010 Author Share Posted April 19, 2010 OK. I have found the problem, but I don't understand why it is causing issues!I have added Lightbox to my site, as I have some photo galleries built into custom pages. The following three lines in my header.tpl are causing the issue. When I remove them, it solves the problem - but then my lightbox doesn't work. I assume this just has something to do with the organization of my script references in my header?Anyway, here is the <head> area of my header.tpl file. The lines I have added are in bold; <html > <head> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:htmlall:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:htmlall:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" /> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} {/if} [removed][removed] [removed] var baseDir = '{$content_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; [removed] [removed][removed] [removed][removed] [removed][removed] [b][removed][removed] [removed][removed] [removed][removed][/b] {if isset($js_files)} {foreach from=$js_files item=js_uri} [removed][removed] {/foreach} {/if} {$HOOK_HEADER} </head> Do I need to arrange them differently?[EDIT] They won't display on the forums. Dammit. The three lines are;(script type="text/javascript" src="{$content_dir}js/prototype.js">(/script)(script type="text/javascript" src="{$content_dir}js/scriptaculous.js?load=effects,builder">(/script)(script type="text/javascript" src="{$content_dir}js/lightbox.js">(/script) Link to comment Share on other sites More sharing options...
Oncilla Posted April 20, 2010 Author Share Posted April 20, 2010 Just bumping this topic - does anyone have any idea why this is happening? Link to comment Share on other sites More sharing options...
Recommended Posts