Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Product Id Variable Name Rate Topic   - - - - -

 
  • tsourou
  • Newbie
  • Trial users
  • Join Date: 07-Apr 19
  • 8 posts

Posted 23 July 2019 - 05:41 PM #1

Hi there, i made a product tab and i choose html block. In the block i have one div <div class="something" id="here i want the product id dynamicaly "></div>.

 

Is there any way to achive this?

 

Thanks!!



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11429 posts

Posted 24 July 2019 - 05:05 AM #2

If you used an html block with smarty support, you can use:

{$product.product_id}

on a product page.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • tsourou
  • Newbie
  • Trial users
  • Join Date: 07-Apr 19
  • 8 posts

Posted 24 July 2019 - 05:56 AM #3

Thanks you it is so simple i made a product tab and i choose smarty block!