Page 60 of 188 FirstFirst ... 1050585960616270110160 ... LastLast
Results 591 to 600 of 1873
  1. #591
    Join Date
    Mar 2009
    Posts
    169
    Plugin Contributions
    2

    Default Re: Super Orders + Edit Orders (VAT problem)

    Quote Originally Posted by lat9 View Post
    v4.1.4 installs some items in the configuration menu (Configuration->Edit Orders) via the file /YOUR_ADMIN/includes/classes/eo_plugin.php.
    Thanks :)

  2. #592
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Super Orders + Edit Orders (VAT problem)

    Hi TIA.
    My store is using text attributes with multiple lines of text, when editing a order the attribute looses the line breaks and combines into one line without spaces, is there any fix for it to keep the formatting?

  3. #593
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Super Orders + Edit Orders (VAT problem)

    Quote Originally Posted by ShopVille View Post
    Hi TIA.
    My store is using text attributes with multiple lines of text, when editing a order the attribute looses the line breaks and combines into one line without spaces, is there any fix for it to keep the formatting?
    Try changing the "text" input box into a "textarea" (/admin/edit_orders.php). Most browsers strip newlines and extraneous spaces from "text" input boxes.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  4. #594
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Super Orders + Edit Orders (VAT problem)

    Quote Originally Posted by lhungil View Post
    Try changing the "text" input box into a "textarea" (/admin/edit_orders.php). Most browsers strip newlines and extraneous spaces from "text" input boxes.
    Thanks can you help with where in the file i have to edit?

  5. #595
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Super Orders + Edit Orders (VAT problem)

    Quote Originally Posted by ShopVille View Post
    Thanks can you help with where in the file i have to edit?
    Change the field type of your text attributes to a textarea..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #596
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Super Orders + Edit Orders (VAT problem)

    Quote Originally Posted by DivaVocals View Post
    Change the field type of your text attributes to a textarea..
    I only have the following options:
    Dropdown
    Text
    Radio
    Checkbox
    File
    Read Only

  7. #597
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Super Orders + Edit Orders (VAT problem)

    Quote Originally Posted by ShopVille View Post
    I only have the following options:
    Dropdown
    Text
    Radio
    Checkbox
    File
    Read Only
    Not sure if there is a "fix" for your issue.. As lhungil pointed out "Most browsers strip newlines and extraneous spaces from "text" input boxes.". Not an issue caused persay by Edit Orders..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #598
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Super Orders + Edit Orders (VAT problem)

    Quote Originally Posted by DivaVocals View Post
    Not sure if there is a "fix" for your issue.. As lhungil pointed out "Most browsers strip newlines and extraneous spaces from "text" input boxes.". Not an issue caused persay by Edit Orders..
    Right not caused by Edit Orders but only happens when editing since the browser will strip the lines

  9. #599
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Super Orders + Edit Orders (VAT problem)

    After looking a bit further, there is a real easy option to allow product attributes with user entered multiline text. So I was wrong earlier, no need to edit "/admin/edit_orders.php" (it has been awhile since I have looked through the product attribute display code in Zen Cart).

    Zen Cart out of box supports changing individual "text" option names (attributes) to use a textarea HTML element instead of an input HTML element (with a type attribute of text). As Edit Orders uses almost the exact same code as a stock Zen Cart product page (minor modifications for handling of downloads), turning this option on for the "text" option name in Zen Cart will also switch to using a textarea HTML element.

    How to enable support for multiline "text" product options:
    1. Log into the Zen Cart administrative interface.
    2. Navigate the menu's to "Catalog" -> "Option Name Manager".
    3. Find the option name (option type: text) and click the associated "edit" button.
    4. Change "rows" to the number of rows to display (for multiline input must be greater than 1).
    5. Click the "update" button.


    NOTE: Tested and verified to work under Zen Cart 1.5.1+ and Edit Orders 4.1.3+ (probably earlier as well - but these are my current test environments. The setting is documented in the wiki (Google FTW).
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  10. #600
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Super Orders + Edit Orders (VAT problem)

    Quote Originally Posted by lhungil View Post
    After looking a bit further, there is a real easy option to allow product attributes with user entered multiline text. So I was wrong earlier, no need to edit "/admin/edit_orders.php" (it has been awhile since I have looked through the product attribute display code in Zen Cart).

    Zen Cart out of box supports changing individual "text" option names (attributes) to use a textarea HTML element instead of an input HTML element (with a type attribute of text). As Edit Orders uses almost the exact same code as a stock Zen Cart product page (minor modifications for handling of downloads), turning this option on for the "text" option name in Zen Cart will also switch to using a textarea HTML element.

    How to enable support for multiline "text" product options:
    1. Log into the Zen Cart administrative interface.
    2. Navigate the menu's to "Catalog" -> "Option Name Manager".
    3. Find the option name (option type: text) and click the associated "edit" button.
    4. Change "rows" to the number of rows to display (for multiline input must be greater than 1).
    5. Click the "update" button.


    NOTE: Tested and verified to work under Zen Cart 1.5.1+ and Edit Orders 4.1.3+ (probably earlier as well - but these are my current test environments. The setting is documented in the wiki (Google FTW).
    This is how i'm set up it keeps the line formatting in the order, however when editing it displays as one line

 

 

Similar Threads

  1. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 804
    Last Post: 18 Apr 2025, 12:04 AM
  2. v150 Orders Status History -- Updated By [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 34
    Last Post: 29 Jul 2019, 07:05 PM
  3. Edit Orders v3.0 for ZC 1.3.9 [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 656
    Last Post: 18 Apr 2016, 06:28 PM
  4. v139h Super Orders v3.0 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1018
    Last Post: 28 Apr 2014, 11:38 PM
  5. RE: Super Orders v3.0 Support Thread
    By Johnnyd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Jun 2011, 09:28 AM

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