Page 147 of 152 FirstFirst ... 4797137145146147148149 ... LastLast
Results 1,461 to 1,470 of 1515
  1. #1461
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    301
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    @linuxguy2, could you give me an example of the characters you're wanting to weed-out?
    Hi Lat,
    Exclude
    !@$%^&*()+?><>:"{}|[]\;/=_

    Basically I only want to allow alpha, Numeric , the # (hashtag) - (dash) and the ' (apostrophe).

    Of course I need the @ sign in the email address.
    The Password will need to accept some typical special characters but I can adjust those later.

    Thanks, for your prompt response.

  2. #1462
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,314
    Plugin Contributions
    72

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by linuxguy2 View Post
    Hi Lat,
    Exclude
    !@$%^&*()+?><>:"{}|[]\;/=_

    Basically I only want to allow alpha, Numeric , the # (hashtag) - (dash) and the ' (apostrophe).

    Of course I need the @ sign in the email address.
    The Password will need to accept some typical special characters but I can adjust those later.

    Thanks, for your prompt response.
    You can use preg_match on each of those fields to weed those out:
    Code:
    if (preg_match('/[!@$%^&*\(\)\+\?><>:"{}|\[\]\;\/=_]/', $variable_name)) {
        // Contains unwanted characters
    }
    I'll need to review the various spots within OPC where I can throw notifications that enable you to provide those additional checks.

    Note that there's a sweet little tool (rubular.com) that can help you test various regex patterns.

    GitHub issue for tracking: https://github.com/lat9/one_page_checkout/issues/226
    Last edited by lat9; 22 Jan 2020 at 01:53 PM.

  3. #1463
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    301
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    You can use preg_match on each of those fields to weed those out:
    Code:
    if (preg_match('/[!@$%^&*\(\)\+\?><>:"{}|\[\]\;\/=_]/', $variable_name)) {
        // Contains unwanted characters
    }
    I'll need to review the various spots within OPC where I can throw notifications that enable you to provide those additional checks.

    Note that there's a sweet little tool (rubular.com) that can help you test various regex patterns.

    GitHub issue for tracking: https://github.com/lat9/one_page_checkout/issues/226
    Lat9

    That would be great!

    Thanks, I'll check rubular out.

  4. #1464
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    301
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by linuxguy2 View Post
    Lat9

    That would be great!

    Thanks, I'll check rubular out.
    Hi Lat9,

    You probably are way ahead of me on this but when the notice (Characters ..... not allowed in this field) is thrown I'd like the form to retain data that has already been entered.

    Thanks,

  5. #1465
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,314
    Plugin Contributions
    72

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by linuxguy2 View Post
    Hi Lat9,

    You probably are way ahead of me on this but when the notice (Characters ..... not allowed in this field) is thrown I'd like the form to retain data that has already been entered.

    Thanks,
    Understood.

  6. #1466

    Default Re: One-Page Checkout [Support Thread]

    Hello, I am having some template related issue resulting in

    Your order's details have changed. Please review the current values and re-submit.

    Fresh zencart 1.5.6.b with only CEON URI installed and the OPC 2.2.2.

    When I test it with the responsive template OPC seems to work nicely, but when I change to my template GOODWIN something goes wrong and

    Message Your order's details have changed. Please review the current values and re-submit. appears.

    I am using only cod as payment and store pickup delivery.

    What may cause this error? It is quite possible something from the template part but where to look for?

    Kind regards.
    Why i love perfumes is because they smell nice. Why I use zen-cart is because it is the most advanced free and coder friendly system I know that can rank well in google.

  7. #1467
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,314
    Plugin Contributions
    72

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by perfumbg View Post
    Hello, I am having some template related issue resulting in

    Your order's details have changed. Please review the current values and re-submit.

    Fresh zencart 1.5.6.b with only CEON URI installed and the OPC 2.2.2.

    When I test it with the responsive template OPC seems to work nicely, but when I change to my template GOODWIN something goes wrong and

    Message Your order's details have changed. Please review the current values and re-submit. appears.

    I am using only cod as payment and store pickup delivery.

    What may cause this error? It is quite possible something from the template part but where to look for?

    Kind regards.
    That themeforest template, as others from that template-provider, make various non-standard changes to the store's /includes/templates/YOUR_TEMPLATE/templates/tpl_modules_order_totals.php. Those changes make it so that OPC can't locate the order's current total, resulting in that 'details changed' message.

    I'll update the One-Page Checkout documentation to indicate that all templates from themeforest are problematic.

  8. #1468
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,314
    Plugin Contributions
    72

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    That themeforest template, as others from that template-provider, make various non-standard changes to the store's /includes/templates/YOUR_TEMPLATE/templates/tpl_modules_order_totals.php. Those changes make it so that OPC can't locate the order's current total, resulting in that 'details changed' message.

    I'll update the One-Page Checkout documentation to indicate that all templates from themeforest are problematic.
    I might be able to work out something. If you enable the One-Page Checkout's debug ... just prior to clicking the "Confirm" button, an OPC log will be created in the site's /logs directory that will identify what the underlying loop-back issue is.

    I'll PM you my direct email address and you can send me that log for analysis.

  9. #1469

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    I might be able to work out something. If you enable the One-Page Checkout's debug ... just prior to clicking the "Confirm" button, an OPC log will be created in the site's /logs directory that will identify what the underlying loop-back issue is.

    I'll PM you my direct email address and you can send me that log for analysis.

    Yes I have the debug file you can download it from http://autofox.net/OPC.log

    Thank you in advance.
    Last edited by perfumbg; 4 Feb 2020 at 05:09 PM.
    Why i love perfumes is because they smell nice. Why I use zen-cart is because it is the most advanced free and coder friendly system I know that can rank well in google.

  10. #1470

    Default Re: One-Page Checkout [Support Thread]

    You were right the did some changes to tpl_modules_order_totals.php,

    I have replaced them with the original from template_default and now it seems ok, at least it works and the customer can make order.

    I will test it some more and if new problem is there I will report it here.

    Thank you for pointing the exact cause of my problem, it may help others if they use ThemeForest templates!
    Why i love perfumes is because they smell nice. Why I use zen-cart is because it is the most advanced free and coder friendly system I know that can rank well in google.

 

 

Similar Threads

  1. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 May 2016, 10:34 PM
  2. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  3. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  4. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 145
    Last Post: 11 Nov 2015, 07:06 AM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR