Jump to content

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

Adding A New Parameter To Notification Products Table Rate Topic   - - - - -

 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1641 posts

Posted 09 September 2021 - 03:30 PM #1

Hello everyone,

We're developing an add-on for our customer and we encountered a problem.
In database, in table order_details we added a new column. We'd like to include value from this column in e-mail notifications, in products table, so for each product in order, a respective value from this column should appear.

 

https://imgur.com/a/bxxixgy

We figured out how to do this by editing source code (change file app//Tygh/Template/Snippet/Table/ProductVariable.php), but we don't know how to do this using hooks. Has anyone tried to do something like that and managed to find a solution that does not require modifying core?

 

Thanks,

Robert

 

 


Team of SoftSolid
cs-cart.pl | marketplace | Multi-Vendor/CS-Cart Development | Dedicated developers

We specialize in creating the highest quality addons, safe, useful and flexible