Page 15 of 17 FirstFirst ... 51314151617 LastLast
Results 141 to 150 of 168
  1. #141
    Join Date
    Jan 2007
    Posts
    1,484
    Plugin Contributions
    10

    Default Re: Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]

    The other issue I have run into, which was mentioned a few pages back, is in the reason textbox, when someone enters a sentence that has an apostrophe it breaks the code. The log says there's a dB error where the apostrophe is since it's not being escaped and throws all of the field entries off. The emails still come through ok, but the page on the site is blank.

    I have tried a few things without success. Kinda humbling to have forgotten so much knowledge...use it or lose it...anyway, if someone knows what needs to be done to correct it please let us know. I tried addslashes but it didn't fix it.

  2. #142
    Join Date
    Jan 2007
    Posts
    1,484
    Plugin Contributions
    10

    Default Re: Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]

    After more testing I figured out the apostrophe issue. For anyone else with this issue, in tpl_returns_default.php change line 68 from
    PHP Code:
    $reason = ($_SESSION['comments']); 
    to
    PHP Code:
    $reason addslashes($_SESSION['comments']); 
    I'm still working on the COWOA issue. If I crack it I will report back, package up these changes and submit for an update.

    Zen Cart and it's community are the best!!

  3. #143
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,071
    Plugin Contributions
    14

    Default Re: Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]

    Quote Originally Posted by lankeeyankee View Post
    After more testing I figured out the apostrophe issue. For anyone else with this issue, in tpl_returns_default.php change line 68 from
    PHP Code:
    $reason = ($_SESSION['comments']); 
    to
    PHP Code:
    $reason addslashes($_SESSION['comments']); 
    I'm still working on the COWOA issue. If I crack it I will report back, package up these changes and submit for an update.
    I was thinking of adding this mod to my site, but was slow at getting to it.. It turned in to more of a rewrite then I first would of thought!

    Out of the box, its not setup to work with COWOA and removing the customers_id checks opens to many doors. There is some other issues with the code, but setting comments into a session, I'm not seeing a reason!!

    I think it would be better to sanitize the comment and then add the slashes.. I moved the code into the header which let me kill the session..
    Code:
     $reason = zen_db_prepare_input(zen_sanitize_string($_POST['reason']));
    $reason = addslashes($reason);
    I'm redesigning the template page and still working on the back end... just came across another site layout for order status I liked... so taking the design back to the order status page and redesigning it too... looking forward to your updates!
    Dave
    Always forward thinking... Lost my mind!

  4. #144
    Join Date
    Jan 2007
    Posts
    1,484
    Plugin Contributions
    10

    Default Re: Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]

    I tried your change, Dave, and it didn't work. Nothing was recorded in the order comments history. Did you remove $_SESSION['comments'] = zen_db_prepare_input($_POST['reason']); from the header_php file?

    I will post my progress here since you may want to merge it with what you've done. And maybe vice versa? I am also looking at your COWAA mod, I may use that instead of COWOA. So maybe that is the way forward. It says in the docs about COWOA which is why I mentioned it here.

    This has a lot of potential. I would think anyone selling physical products would need this since returns are just a part of doing business.

    Zen Cart and it's community are the best!!

  5. #145
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,071
    Plugin Contributions
    14

    Default Re: Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]

    Quote Originally Posted by lankeeyankee View Post
    This has a lot of potential. I would think anyone selling physical products would need this since returns are just a part of doing business.
    After looking at different sites and how they did returns/order status, I ended up rewriting the entire set of code for returns and order status to meet my needs. Did away with tables and setup for responsive layout, with the return number attached to an item and not the entire order.. The tie in is based on order number and email, not account.

    After some testing, I'll change some things so it well work on the default responsive template and zip it up..

    Order Status page and return page
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	orderreturn_returnitem_changeaddress.png 
Views:	46 
Size:	57.9 KB 
ID:	17075   Click image for larger version. 

Name:	orderstatus_returnable.png 
Views:	97 
Size:	68.5 KB 
ID:	17076  
    Dave
    Always forward thinking... Lost my mind!

  6. #146
    Join Date
    Jan 2007
    Posts
    1,484
    Plugin Contributions
    10

    Default Re: Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]

    Very nice! I really like what you are doing with this and I think it is a fantastic improvement! Please let me know if you need me to do any testing, I am happy to help.

    Zen Cart and it's community are the best!!

  7. #147
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,071
    Plugin Contributions
    14

    Default Re: Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]

    Quote Originally Posted by lankeeyankee View Post
    Very nice! I really like what you are doing with this and I think it is a fantastic improvement! Please let me know if you need me to do any testing, I am happy to help.
    Well, I just had another senor moment and canceled an order I placed 2 hours before with one of the big on line stores! Which now is making me reconsider the idea of order status, returns and cancellations as being separate mods which makes communication between them a pain in the south bound end of a north bound mule...

    Rules I'm using...
    1) anyone placing an order should be able to check status without logging in.
    2) any item in the order could be canceled before the order is shipped.
    3) any item in the order could be returned after the order is delivered.
    4) no virtual products can be returned. (software safety)

    any others you can think of!

    Well have to do some more work but when I get something put together, I'll post on GitHub for testing.

    Should take this to a new thread so not to make a mess out of this one..
    Dave
    Always forward thinking... Lost my mind!

  8. #148
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    962
    Plugin Contributions
    6

    Default Re: Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]

    Quote Originally Posted by lankeeyankee View Post
    Very nice! I really like what you are doing with this and I think it is a fantastic improvement! Please let me know if you need me to do any testing, I am happy to help.
    Very nice indeed

  9. #149
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,071
    Plugin Contributions
    14

    Default Re: Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]

    I didn't forget just still toying with some ideas, but stable enough to place on Github as beta. Had another idea pop up today so soon as I think the table is stable Iíll start a new thread and send it to the plugins. Went from a RMA to adding a cancel to creating a return management system in admin...
    Dave
    Always forward thinking... Lost my mind!

  10. #150
    Join Date
    Jul 2012
    Posts
    345
    Plugin Contributions
    0

    Default Re: Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]

    Hello,
    It says
    "Order info gathering: A customer or COWOA customer is now taken to a new page (Return Authorization Request) where they can login or lookup order for which the item is on to request a RMA#."
    COWOA customers can look up order details and below it shows message "
    Submit a Returns Authorization Request click here"

    but when click on this it take to login page instead of return request form. Anyone knows how to fix this?
    domain.com/index.php?main_page=returns_request shows "Click here" button but when click it try to load to
    domain.com/index.php?main_page=returns&order_id=xxxx but ask to login.

 

 
Page 15 of 17 FirstFirst ... 51314151617 LastLast

Similar Threads

  1. v154 Flexible Footer Menu Multilingual [Support Thread]
    By rbarbour in forum All Other Contributions/Addons
    Replies: 118
    Last Post: 12 Sep 2022, 06:15 PM
  2. Return Authorization Module (RMA)
    By voltage in forum All Other Contributions/Addons
    Replies: 648
    Last Post: 3 Jun 2015, 09:37 PM
  3. Return Merchandise Authorization (RMA) Module Follow-up
    By killertofu in forum Managing Customers and Orders
    Replies: 1
    Last Post: 11 Aug 2008, 11:13 PM
  4. Return Authorization Module (RMA)
    By dscott1966 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Nov 2006, 08:04 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