Jump to content

Gigaion

Members
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    3

Reputation Activity

  1. Thanks
    Gigaion got a reaction from Michael in [Module] Sonicpanel Billing Module (now open source!)   
    This thread has been modified to show that this module is now open source. This code is no longer maintained but now available to the public:
    https://github.com/Gigaion/module-centovacastpanel
    https://github.com/Gigaion/module-centovacastpanelreseller
    https://github.com/Gigaion/module-sonicpanel
    https://github.com/Gigaion/module-sonicpanelreseller
    (Last edit: November 13 2022. This post above has been simplified to show this is now open source instead of closed source)
  2. Thanks
    Gigaion reacted to Jono in [Bug] Exchange Rates defaults to 0.000000   
    Looks like this is only a bug for the X Rates integration which is returning a response with an exchange rate of 0.  I've created a task to resolve that here: https://dev.blesta.com/browse/CORE-4145.  In the mean time any off the other processors should work.
  3. Thanks
    Gigaion reacted to majestyhost in Paypal Billing Agreements   
    Something like this https://marketplace.whmcs.com/product/330-paypal-on-demand-billing-agreement-gateway
  4. Thanks
    Gigaion got a reaction from Paul in [Module] Sonicpanel Billing Module (now open source!)   
    This thread has been modified to show that this module is now open source. This code is no longer maintained but now available to the public:
    https://github.com/Gigaion/module-centovacastpanel
    https://github.com/Gigaion/module-centovacastpanelreseller
    https://github.com/Gigaion/module-sonicpanel
    https://github.com/Gigaion/module-sonicpanelreseller
    (Last edit: November 13 2022. This post above has been simplified to show this is now open source instead of closed source)
  5. Like
    Gigaion got a reaction from Blesta Addons in [Module] Sonicpanel Billing Module (now open source!)   
    This thread has been modified to show that this module is now open source. This code is no longer maintained but now available to the public:
    https://github.com/Gigaion/module-centovacastpanel
    https://github.com/Gigaion/module-centovacastpanelreseller
    https://github.com/Gigaion/module-sonicpanel
    https://github.com/Gigaion/module-sonicpanelreseller
    (Last edit: November 13 2022. This post above has been simplified to show this is now open source instead of closed source)
  6. Like
    Gigaion got a reaction from activa in [How To Guide] AJAX Boxes Order Form - Configurable Options Direct Link   
    Hello Blesta Community,

    Here's a quick snippet of being able to link directly to configurable options within the AJAX Boxes order forms template:

    Example Link:
    example.com/order/main/packages/EXAMPLE/?..etc-data...&group_id=[Your Group ID]&configoptions[1]=[Option Value 1]&configoptions[2]=[Option Value 2]

    Edit File: /plugins/order/views/templates/ajax/main_packages.pdt

    Add the following code after the "// Process change currency request" portion of the javascript code:
     
    // GET URL Variables as associative array function getURLVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for(var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0]] = hash[1]; } return vars; } //Change Config Options in URL: &configoptions[1]=VALUE&configoptions[2]=VALUE...etc $(document).ready(function() { setTimeout(function(){ configCount = 0; while (configCount < 10) { var ConfigVar = getURLVars()["configoptions[" + configCount + "]"]; if(ConfigVar) { $("#configoption_" + configCount).val(ConfigVar).change(); } configCount++; } }, 5000); //Secondary call after 10s //This helps resolve issues with coupon codes. Prices would show up correct, but drop downs would show incorrect setTimeout(function(){ configCount = 0; while (configCount < 10) { var ConfigVar = getURLVars()["configoptions[" + configCount + "]"]; if(ConfigVar) { $("#configoption_" + configCount).val(ConfigVar).change(); } configCount++; } }, 10000); }); Edit the "configCount < 10" based on how many variables your site requires.

    Please note there is a 5 second delay where it updates the configurable options.
    I'm aware there is probably a better method to do this and I'd love to see the community improve upon this idea by sharing below

    (Note: It does seem AJAX Boxes order form does have an issue where you login/create account it blanks out the config options)
  7. Thanks
    Gigaion got a reaction from Michael in [How To Guide] AJAX Boxes Order Form - Configurable Options Direct Link   
    Hello Blesta Community,

    Here's a quick snippet of being able to link directly to configurable options within the AJAX Boxes order forms template:

    Example Link:
    example.com/order/main/packages/EXAMPLE/?..etc-data...&group_id=[Your Group ID]&configoptions[1]=[Option Value 1]&configoptions[2]=[Option Value 2]

    Edit File: /plugins/order/views/templates/ajax/main_packages.pdt

    Add the following code after the "// Process change currency request" portion of the javascript code:
     
    // GET URL Variables as associative array function getURLVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for(var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0]] = hash[1]; } return vars; } //Change Config Options in URL: &configoptions[1]=VALUE&configoptions[2]=VALUE...etc $(document).ready(function() { setTimeout(function(){ configCount = 0; while (configCount < 10) { var ConfigVar = getURLVars()["configoptions[" + configCount + "]"]; if(ConfigVar) { $("#configoption_" + configCount).val(ConfigVar).change(); } configCount++; } }, 5000); //Secondary call after 10s //This helps resolve issues with coupon codes. Prices would show up correct, but drop downs would show incorrect setTimeout(function(){ configCount = 0; while (configCount < 10) { var ConfigVar = getURLVars()["configoptions[" + configCount + "]"]; if(ConfigVar) { $("#configoption_" + configCount).val(ConfigVar).change(); } configCount++; } }, 10000); }); Edit the "configCount < 10" based on how many variables your site requires.

    Please note there is a 5 second delay where it updates the configurable options.
    I'm aware there is probably a better method to do this and I'd love to see the community improve upon this idea by sharing below

    (Note: It does seem AJAX Boxes order form does have an issue where you login/create account it blanks out the config options)
×
×
  • Create New...