Jump to content

PHP for product long description ?


superskyman100

Recommended Posts

Hi,

I need to change this PHP code :

  if ($op == 4 && Tools::strlen($results[0]['description_short']) > 3) {
                $ok = 1;
                $results[0]['description_short'] = strip_tags($results[0]['description_short']);
                $results[0]['description_short'] = str_replace($list, " ", $results[0]['description_short']);
                $tab_keys = explode(" ", $results[0]['description_short']);
            }

by the same code, using the long description variable instead of ['description_short']

what I call 'long description variable' is just the long product description that we use on the right tab on product/basic settings

image.thumb.png.467eb233b898386de0073f574d402eaa.png

 

would it be  ['description'] only ?

I use PS 1.7.6.4

Thanks

 

 

 

 

 

Edited by superskyman100 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...