Page 193 of 279 FirstFirst ... 93143183191192193194195203243 ... LastLast
Results 1,921 to 1,930 of 2784
  1. #1921
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,009
    Plugin Contributions
    61

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by carlwhat View Post
    @lat9, i think this is it:

    https://www.numinix.com/zen-cart-plu...reward-dollars

    $8/month...

    best.
    Correct
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  2. #1922
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: One-Page Checkout [Support Thread]

    Just sayin ... lat9 isn't going to be able to inspect or identify any possible issues without access to that mod's code. Contact her by PM with a copy of the code for inspection. I'm sure she won't use it inappropriately.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #1923
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,009
    Plugin Contributions
    61

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by DrByte View Post
    Just sayin ... lat9 isn't going to be able to inspect or identify any possible issues without access to that mod's code. Contact her by PM with a copy of the code for inspection. I'm sure she won't use it inappropriately.
    Quote Originally Posted by mprough View Post
    Anyone using NUMINIX's store credit mod with OPC in 1.5.7?

    ~Melanie
    I was inquiring for anyone who was using it. I wasn't asking anything else.
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  4. #1924
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by mprough View Post
    I was inquiring for anyone who was using it. I wasn't asking anything else.
    Fair, but I think lat9's query was an expression of willingness to test it, and potentially make it compatible or at least supported.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #1925
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by DrByte View Post
    Fair, but I think lat9's query was an expression of willingness to test it, and potentially make it compatible or at least supported.
    That's a correct interpretation.

  6. #1926
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,009
    Plugin Contributions
    61

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    That's a correct interpretation.
    Appreciate that, I'm trying to get a feel if it's time well spent or not. If no one uses it, then...
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  7. #1927
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by mprough View Post
    Anyone using NUMINIX's store credit mod with OPC in 1.5.7?

    ~Melanie
    Quote Originally Posted by carlwhat View Post
    @lat9, i think this is it:

    https://www.numinix.com/zen-cart-plu...reward-dollars

    $8/month...

    best.
    Quote Originally Posted by mprough View Post
    Appreciate that, I'm trying to get a feel if it's time well spent or not. If no one uses it, then...
    Two alternatives of which I'm aware, but unfortunatly have no meaningful experience with, are Reward Points (free plugin) and another by TwitchToo (commercial).
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #1928
    Join Date
    Nov 2005
    Location
    France
    Posts
    576
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    Zen Cart 1.5.7b
    One-Page Checkout (One Page Checkout) - Version: v2.3.7

    I've made some modifications to my site so that I can prevent specific products from being visible to customers from certain countries.
    Whilst this works for the most part, I want to ensure that if a customer changes shipping address during checkout to a country that has restrictions, the restricted product is removed from the cart and a message advises the customer of this.

    I've got shipping country detection working on main_page=checkout_one, but I'm struggling to find a way to remove the restricted product from the array.

    I tried doing this
    Code:
    $selected_ship_country = $_SESSION['opc']->getAddressValues('ship')['country_id'];
    foreach ($_SESSION['cart']->get_products() as $product) {
        $check_for_restriction = $db->Execute("SELECT products_id
                                             FROM " . TABLE_PRODUCTS . "
                                             WHERE products_id = '" . $product['id'] . "'
                                             AND restricted_country_id LIKE '%" . $selected_ship_country . "%'");
        if ($check_for_restriction->RecordCount() > 0) {
            remove($product['id']);
    }
    in the hope that calling the remove function of the shopping cart class would do the trick, but it didn't make any difference.

    Is there a way to achieve this during checkout with OPC?

  9. #1929
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,669
    Plugin Contributions
    11

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by strelitzia View Post
    Zen Cart 1.5.7b
    One-Page Checkout (One Page Checkout) - Version: v2.3.7

    I've made some modifications to my site so that I can prevent specific products from being visible to customers from certain countries.
    Whilst this works for the most part, I want to ensure that if a customer changes shipping address during checkout to a country that has restrictions, the restricted product is removed from the cart and a message advises the customer of this.

    I've got shipping country detection working on main_page=checkout_one, but I'm struggling to find a way to remove the restricted product from the array.

    I tried doing this
    Code:
    $selected_ship_country = $_SESSION['opc']->getAddressValues('ship')['country_id'];
    foreach ($_SESSION['cart']->get_products() as $product) {
        $check_for_restriction = $db->Execute("SELECT products_id
                                             FROM " . TABLE_PRODUCTS . "
                                             WHERE products_id = '" . $product['id'] . "'
                                             AND restricted_country_id LIKE '%" . $selected_ship_country . "%'");
        if ($check_for_restriction->RecordCount() > 0) {
            remove($product['id']);
    }
    in the hope that calling the remove function of the shopping cart class would do the trick, but it didn't make any difference.

    Is there a way to achieve this during checkout with OPC?
    i currently do not use OPC, although i have played around with it. i'm not sure this is where i would do it... but, if this is the spot i would try:

    PHP Code:
    //from:
    remove($product['id']);

    //to:
    $_SESSION['cart']->remove($product['id']); 
    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  10. #1930
    Join Date
    Nov 2005
    Location
    France
    Posts
    576
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by carlwhat View Post
    PHP Code:
    //from:
    remove($product['id']);

    //to:
    $_SESSION['cart']->remove($product['id']); 
    That worked a treat. Now I just need to figure out how to get the total to recalculate as it is still showing the value from before the item is removed!

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. 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
  4. 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
  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