Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2013
    Location
    United States
    Posts
    88
    Plugin Contributions
    0

    Default Product description strtolower

    in want to set strtolower into product description.in admin. for uppercase to lowercase plz help

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Product description strtolower

    As with all of your posts, an explanation of what business problem you're trying to solve with this would be helpful.

  3. #3
    Join Date
    Oct 2013
    Location
    United States
    Posts
    88
    Plugin Contributions
    0

    Default Re: Product description strtolower

    Quote Originally Posted by stevesh View Post
    As with all of your posts, an explanation of what business problem you're trying to solve with this would be helpful.
    SIR,
    in my product description, suppose i put this line > (ThIs is ProDuct DESCRIPTIONS), After update i can see product description on frontend
    (ThIs is ProDuct DESCRIPTIONS). i don't want this, i wanna make it (here is product description).

    is it possile?

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Product description strtolower

    I suppose it is possible, with custom coding of the editor you're using or the built-in plain text editor. There's no easy way I know of for a non-programmer to add that function.

  5. #5
    Join Date
    Oct 2013
    Location
    United States
    Posts
    88
    Plugin Contributions
    0

    Default Re: Product description strtolower

    Quote Originally Posted by stevesh View Post
    I suppose it is possible, with custom coding of the editor you're using or the built-in plain text editor. There's no easy way I know of for a non-programmer to add that function.
    Code:
    Print(strtolower("HeLLow how are you?"));>
    This will output: hellow how are you?

    Code:
    $happy = "I am happy";
    Print(strtolower($happy));>
    This will output: i am happy


    .
    But___ it NOT working on Array >>
    Code:
    $parameters = array('products_name' => '',
                           'products_description' => '',
                           'products_url' => '',
    Last edited by crixus; 4 Nov 2013 at 01:12 PM.

  6. #6
    Join Date
    Oct 2013
    Location
    United States
    Posts
    88
    Plugin Contributions
    0

    Default Re: Product description strtolower

    I did it

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

    Default Re: Product description strtolower

    Quote Originally Posted by crixus View Post
    I did it
    and that's AWESOME.. glad you got it worked out.. How about SHARING what you did so that OTHERS can benefit.. After all the community helps you when you ask.. and others benefit from the information..

    It would also help if you said which editor you are suing as well..
    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. #8
    Join Date
    Oct 2013
    Location
    United States
    Posts
    88
    Plugin Contributions
    0

    Default Re: Product description strtolower

    admin\includes\modules\product\preview_info.php

    in line 173

    Code:
     echo zen_draw_hidden_field('products_description[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_description[$languages[$i]['id']]), ENT_COMPAT, CHARSET, TRUE));
    to

    Code:
    echo zen_draw_hidden_field('products_description[' . $languages[$i]['id'] . ']', htmlspecialchars(strtolower($products_description[$languages[$i]['id']]), ENT_COMPAT, CHARSET, TRUE));

 

 

Similar Threads

  1. Replies: 148
    Last Post: 18 Oct 2023, 12:08 PM
  2. Add more info link to product listing description when description is truncated
    By MaureenT in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 16 Sep 2010, 05:44 PM
  3. ucwords & strtolower
    By Revenant in forum General Questions
    Replies: 0
    Last Post: 29 Jan 2007, 08:04 PM
  4. Upgrade to 1.3.0.5 - strtolower question
    By icemanchai in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 4 Sep 2006, 11:45 AM
  5. Search SQL - Suggest: lower() + strtolower()
    By texdc in forum Bug Reports
    Replies: 2
    Last Post: 20 Jul 2006, 04:51 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