JSFiddle

  • Toggle radio buttons test #26 is the latest revision

    jQuery 2.1.0, HTML, CSS, JavaScript

    if (typeof(Ecwid) == 'object') {
      Ecwid.OnAPILoaded.add(function() {
        Ecwid.OnPageLoaded.add(function(page) {
          if ('PRODUCT' == page.type) {
            //
            var radioButtons = [];
            var ...
  • Cart page onPageLoaded early firing #3 is the latest revision

    Cart page onPageLoaded early firing

    if (typeof (Ecwid) === 'object') {
        Ecwid.OnPageLoaded.add(function (page) {
            if (page.type == 'CART') {            
                jQuery('div.ecwid-productBrowser-cart-checkoutButton').hide();
                alert('1');
            }
        });
    }
  • yotpo_integration_script

    Yotpo integration script for Ecwid KB

    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script>
    <style>
        .codegen-widget {
            padding: 1em;
            background-color: #eaf3fa;
            font: normal 16px tahoma, geneva, verdana, sans-serif;
        }
        .codegen-widget small {
            font-size: 75%;
        }
        .codegen-widget input {
            font: normal ...</style>
  • ecwid_options_espander.html #9 is the latest revision

    An HTML/Javascript code snippet for Ecwid to show/hide product options depending on a trigger(expander) option https://gist.github.com/makfruit/5302479

    if (typeof(Ecwid) == 'object') {
      Ecwid.OnAPILoaded.add(function() {
    
        var expanderOptionName = "Do_you_want_extra_options";
        var expanderOptionFlagValue = "Yes";
    
        function checkExpandableOptions() {
          // Detect the current selection ...