Author Topic: One Page Checkout (responsive and user friendly)  (Read 15744 times)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3160
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #15 on: January 30, 2016, 19:20:04 pm »
We will have a check on monday!
Can you check to use namespace for you javascript as i descripted some post ago?
Some value you use are so generic that this can break all javascript.
eg
Code: [Select]
window.selectedpaymentid = 0;
var action = "";
var countrychange = "";
var popupopen = 0;

action can be reused by any javascript, popupopen too for some modal scritpt ...

So i had wrote something so :
Code: [Select]
var vmonepage = {
  "action " : "",
  "countrychange " : "",
  "popupopen " : 0,
....
}

And of course, this can include the function and don't pollute the window variables

Thanks,
Patrick

claesbas

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 78
  • VMuikit - A Virtuemart theme for Yootheme template
    • VMuikit - A Virtuemart theme for Yootheme template
  • Skype Name: cnorin
  • VirtueMart Version: 3.2.4
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #16 on: February 03, 2016, 18:54:45 pm »
Yes, we will see what we can do in the next few days here.
VMuikit - A Virtuemart theme for Yootheme template
https://joomlapro.com/vmuikit

VMonepage - One Page Checkout (Was free - now is €20)
https://joomlapro.com/product/virtuemart-one-page-checkout

VMKCO - Klarna Checkout Enhanced
https://joomlapro.com/product/virtuemart-klarna-checkout

claesbas

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 78
  • VMuikit - A Virtuemart theme for Yootheme template
    • VMuikit - A Virtuemart theme for Yootheme template
  • Skype Name: cnorin
  • VirtueMart Version: 3.2.4
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #17 on: February 05, 2016, 12:08:54 pm »
We will have a check on monday!
Can you check to use namespace for you javascript as i descripted some post ago?
Some value you use are so generic that this can break all javascript.
eg
Code: [Select]
window.selectedpaymentid = 0;
var action = "";
var countrychange = "";
var popupopen = 0;

action can be reused by any javascript, popupopen too for some modal scritpt ...

So i had wrote something so :
Code: [Select]
var vmonepage = {
  "action " : "",
  "countrychange " : "",
  "popupopen " : 0,
....
}

And of course, this can include the function and don't pollute the window variables

Thanks,
Patrick

Ok latest version is now all in classes so that no conflicts should arise. Have a look at latest changes and download latest version from GitHub.

Latest: https://github.com/joomlaproffs/vmonepage/releases/tag/2.2.0

Changes: https://github.com/joomlaproffs/vmonepage

Thanks for the tip!
VMuikit - A Virtuemart theme for Yootheme template
https://joomlapro.com/vmuikit

VMonepage - One Page Checkout (Was free - now is €20)
https://joomlapro.com/product/virtuemart-one-page-checkout

VMKCO - Klarna Checkout Enhanced
https://joomlapro.com/product/virtuemart-klarna-checkout

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3160
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #18 on: February 05, 2016, 13:08:50 pm »
Hi,
Nice update, but i think you missed some vars ;)
in javascript onepage.js begin file :
Code: [Select]
window.selectedpaymentid = 0;
var action = "";
var countrychange = "";
var popupopen = 0;
OR use name space, or move this inside
Code: [Select]
jQuery(document).ready(function(){
window.selectedpaymentid = 0;
var action = "";
var countrychange = "";
var popupopen = 0

So this not conflict with global dom vars


Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3160
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #19 on: February 05, 2016, 14:33:24 pm »
Another missing feature, is to add config value in the plugin for buttons so that  you can overide it.
for this HTML class
opg-button-danger
opg-button-primary
opg-form-danger

And perhaps some others ? So you plugin is vry "generic" and don't use own ui-kit or opg class.
Because most of this have similar bootstrap class, so this not break the template layout, if you want it so.

After that, you only need to add in your main object and use this variable in the javascript.
Then you can overide the template corretly.
Thanks,
Patrick

PS: i have send you a pull request, but don't tried all.

claesbas

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 78
  • VMuikit - A Virtuemart theme for Yootheme template
    • VMuikit - A Virtuemart theme for Yootheme template
  • Skype Name: cnorin
  • VirtueMart Version: 3.2.4
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #20 on: February 05, 2016, 19:15:16 pm »
Maybe having an option to change between bootstrap or opc- classes in backend. So that templates not using Bootstrap will work also.
VMuikit - A Virtuemart theme for Yootheme template
https://joomlapro.com/vmuikit

VMonepage - One Page Checkout (Was free - now is €20)
https://joomlapro.com/product/virtuemart-one-page-checkout

VMKCO - Klarna Checkout Enhanced
https://joomlapro.com/product/virtuemart-klarna-checkout

claesbas

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 78
  • VMuikit - A Virtuemart theme for Yootheme template
    • VMuikit - A Virtuemart theme for Yootheme template
  • Skype Name: cnorin
  • VirtueMart Version: 3.2.4
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #21 on: February 10, 2016, 17:45:50 pm »
Another missing feature, is to add config value in the plugin for buttons so that  you can overide it.
for this HTML class
opg-button-danger
opg-button-primary
opg-form-danger

And perhaps some others ? So you plugin is vry "generic" and don't use own ui-kit or opg class.
Because most of this have similar bootstrap class, so this not break the template layout, if you want it so.

After that, you only need to add in your main object and use this variable in the javascript.
Then you can overide the template corretly.
Thanks,
Patrick

PS: i have send you a pull request, but don't tried all.

Please check the latest version: https://github.com/joomlaproffs/vmonepage/releases/tag/2.2.2

We added you suggestions.
VMuikit - A Virtuemart theme for Yootheme template
https://joomlapro.com/vmuikit

VMonepage - One Page Checkout (Was free - now is €20)
https://joomlapro.com/product/virtuemart-one-page-checkout

VMKCO - Klarna Checkout Enhanced
https://joomlapro.com/product/virtuemart-klarna-checkout

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3160
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #22 on: February 10, 2016, 20:51:07 pm »
Very thanks, i try in next days  ;)

claesbas

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 78
  • VMuikit - A Virtuemart theme for Yootheme template
    • VMuikit - A Virtuemart theme for Yootheme template
  • Skype Name: cnorin
  • VirtueMart Version: 3.2.4
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #23 on: March 19, 2016, 23:01:44 pm »
2.2.6 supports the "Joomla Updater" so now its very easy to keep your FREE One Page Checkout up to date!
VMuikit - A Virtuemart theme for Yootheme template
https://joomlapro.com/vmuikit

VMonepage - One Page Checkout (Was free - now is €20)
https://joomlapro.com/product/virtuemart-one-page-checkout

VMKCO - Klarna Checkout Enhanced
https://joomlapro.com/product/virtuemart-klarna-checkout

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2752
  • VirtueMart Version: 3.2.15
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #24 on: April 16, 2016, 10:47:28 am »
This is not the support forum for the third party plugin - please could you use the providers support service for support relating to this plugin.
regards
A

Joomla 3.8.8
php 7.0

claesbas

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 78
  • VMuikit - A Virtuemart theme for Yootheme template
    • VMuikit - A Virtuemart theme for Yootheme template
  • Skype Name: cnorin
  • VirtueMart Version: 3.2.4
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #25 on: May 18, 2016, 18:15:03 pm »
VMonepage.com

- The One Page Checkout updates

Latest changelog 2.2.9:
• Greece language added
• Polish language added
• Payment Prices showing in left side
• Added two language strings
• While update product, payment method also updated
• Some 3.0.16 fixes

http://vmonepage.com

VMuikit - A Virtuemart theme for Yootheme template
https://joomlapro.com/vmuikit

VMonepage - One Page Checkout (Was free - now is €20)
https://joomlapro.com/product/virtuemart-one-page-checkout

VMKCO - Klarna Checkout Enhanced
https://joomlapro.com/product/virtuemart-klarna-checkout

velikorodnov

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 33
  • Skype Name: velikorodnov
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #26 on: August 13, 2016, 22:24:07 pm »
Hi
It will be great if you add script for custom radio-buttons, check-boxes and selects customization

velikorodnov

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 33
  • Skype Name: velikorodnov
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #27 on: August 15, 2016, 15:06:46 pm »
Developer also found a bug when  we output 2 methods
https://youtu.be/FagSBgpHqA0

Also developer added function for custom radio buttons

function radioBox() {
             var o = jQuery(' .opg-list input[type=radio]');
             if (o.length && !jQuery('body').hasClass('.com_config')) {
                o.each(function () {
                    if (jQuery(this).parent().not('span.radio')) {
                        if (!jQuery(this).attr("id")) {
                            jQuery(this).attr({id: 'radio' + i}).wrap('<span class="radio"/>').after('<label class="radio_inner" for="radio' + i + '" />')
                        } else {
                            jQuery(this).wrap('<span class="radio"/>').after('<label class="radio_inner" for="' + jQuery(this).attr("id") + '" />')
                        }
                    }
                });
            }   
         }

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3160
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 &amp; 3.0.x.y
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #28 on: August 15, 2016, 17:22:04 pm »
Hi velikorodnov,
See  https://github.com/joomlaproffs/vmonepage/ and forl it to propose some patch, so any can review and test it.
Thanks

alegrafic

  • Beginner
  • *
  • Posts: 14
  • A beginner
Re: FREE One Page Checkout (responsive and user friendly)
« Reply #29 on: April 26, 2017, 17:51:30 pm »
Hello

Congratulations to the developer of this fantastic extension

I noticed that the drop-down menus do not work well if a country is full and the region is empty because it does not go into buying because the region's drop-down menu is empty

Also, in the user fields, the custom delimiters fields are not shown

How can I fix it?

thank you so much