Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan 1288 posts 3921 karma points c-trib
    Mar 14, 2013 @ 16:14
    Dan
    0

    Unminified teacommerce.js file

    Hi,

    Could anyone point me in the direction of an un-minified teacommerce.js file for Tea Commerce 2?

    Have some changes to make to the AJAX stuff but can't because it's all minified.

    Thanks

  • Anders Burla 2560 posts 8256 karma points
    Mar 14, 2013 @ 16:17
    Anders Burla
    0

    Hi Dan

    It should not be nessesary to have to change the Tea Commerce javascript API as most is using settings and you can hook into success and error methods to do custom UI stuff. What are your needs?

    Kind regards
    Anders

  • Dan 1288 posts 3921 karma points c-trib
    Mar 14, 2013 @ 16:19
    Dan
    0

    Ah, maybe I'm looking in the wrong place.  Basically for now I just need to change way that the 'adding to cart' message works.  I want my own custom behaviour when someone clicks a 'buy' button.

  • Rune Grønkjær 1372 posts 3103 karma points
    Mar 15, 2013 @ 08:20
    Rune Grønkjær
    100

    Hi Dan,

    You are looking for the ecommerce.js script file. It's in the scripts folder and contains the specific integration for the new starter kit. It's mostly a bunch of event handling for the different events thrown by Tea Commerce.

    /Rune

  • Dan 1288 posts 3921 karma points c-trib
    Mar 15, 2013 @ 09:25
    Dan
    0

    Thanks Rune.  Yes, now I found that file it makese a lot more sense :)

  • Rune Grønkjær 1372 posts 3103 karma points
    Mar 15, 2013 @ 09:26
    Rune Grønkjær
    0

    Yep. Hope you like it. It's much more simple than the old starter kit JavaScript :)

    /Rune

Please Sign in or register to post replies

Write your reply to:

Draft