Jump to content

Edit History

superskyman100

superskyman100

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

 

 

 

 

 

superskyman100

superskyman100

Hi,

I use one 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

 

 

 

 

 

×
×
  • Create New...