hi, i have added a new field in the product database table. Which perfectly working on product add and update page . now i want to display this field on different pages like product details so what is the procedure for that. it seems like template is not receving the field from the database in $product.
i want to display the field on storefront product catalog and in product details page.
Did you print variable $product in template?
The field you added is not there?
I tried to print $product.timeline its displaying nothing.
Did you add this field to the cscart_products table?
Use the get_products hook (app/functions/fn.products.php) to extend the $fields array. You should add your parameter to the list of fields which are retrieved from the database
Thanks for the help now i am getting the data.