Using Smarty In Product Import

Hi Everyone

We would like to let the customers contact us via Whatsapp for any additional information he might need about the products.

We created a block with code to show a WhatsApp button to contact us and the message will contain the product itself the code is below:

{$product.product}" style="display: inline-block; padding:10px; border-radius: 8px; background-color: #25D366; color: #fff; text-decoration: none; font-family: sans-serif; font-size: 16px;">Send us WhatsApp to check fitment

If this code is placed in a block it will work properly as we added the block as a tab.

We used the same code and added it to the product description and imported it. but It didn't work and the message appears I would like to know more about {$product.product} and not as a block with smarty.

Is there any way to make the description support smarty and make this code work? or any other idea

Thank you

Unfortunately, description field does not support smarty.

For example, you can use My changes module to override the Description tab content

design/themes/responsive/templates/blocks/product_tabs/description.tpl

and add your code after product description

Unfortunately, description field does not support smarty.

For example, you can use My changes module to override the Description tab content

design/themes/responsive/templates/blocks/product_tabs/description.tpl

and add your code after product description

Thank you eComLabs