Jump to content
prestashop_begin

How to insert an image associated with the product in your description.

Recommended Posts

After I uploaded images to a product and I clicked on info link.

"Do you want an image associated with the product in your description? Click here."

then I copied

mage tag to insert:

such as [img-27-left-home_default] to prodcuct descript and saved it so I preview my post but it still show [img-27-left-home_default] on product description.

 

Any help would be strongly appreciated.

Share this post


Link to post
Share on other sites

What description? On what part of the site? Can you be more specific.

Share this post


Link to post
Share on other sites

for me it works without problem... i think that this is individual issue, i need more informations about this, maybe i can help, but without informations i can't help :(

Share this post


Link to post
Share on other sites

i met same problem for 1.5.3.1.

 

this problem solved.

 

edit \PRESTASHOP_ROOT_DIR\controllers\front\ProductController.php

line 507

 

$reg = '/\[img-([0-9]+)-(left|right)-([a-z]+)\]/';

$reg = '/\[img-([0-9]+)-(left|right)-([a-z_]+)\]/';

 

i can show images on product description.

  • Like 1

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More