Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Javascripts Not Loading When I Turn Back Payment Tab Rate Topic   - - - - -

 
  • bluexpres
  • Member
  • Members
  • Join Date: 20-Jul 13
  • 45 posts

Posted 14 March 2015 - 12:23 AM #1

Hello,
In payment method, we are calling a tpl file with javascripts. All javascripts are working. But when i click to "other payment method" tab and after that, turn back to first tab, scripts are not loading.
I checked it with browser and here is the image;

Posted Image

How can i fix this? If customer change payment method and turn back, javascripts are not running.

Waiting reply,
Regards.

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22892 posts

Posted 16 March 2015 - 09:32 AM #2

You should add the "cm-ajax-force" class to the custom <script> tag. E.g.

<script class="cm-ajax-force">
...
</script>

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • bluexpres
  • Member
  • Members
  • Join Date: 20-Jul 13
  • 45 posts

Posted 17 March 2015 - 08:29 PM #3

Hello,
I tested with that class but scripts are not loading when i turn back to first tab.

Edited by bluexpres, 17 March 2015 - 09:45 PM.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22892 posts

Posted 18 March 2015 - 08:58 AM #4

It is required to examine the issue directly on your server. Feel free to contact us

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 

Posted 23 March 2015 - 05:47 PM #5

the class "cm-ajax-force" for script should work
after implementing that change you should clean up cs-cart template and browser caches

if it does not help, 3rd party mod is in place so we are also at your service