I am trying to find information on how to add my products model number or product id to the grid list on the main page labeled new products for September its got the product name and the price but I need it to display the item number as well.
I am trying to find information on how to add my products model number or product id to the grid list on the main page labeled new products for September its got the product name and the price but I need it to display the item number as well.
thats what I am talking about but I know nothing of coding is it something difficult I mean the code is already there in the product information for a specific item is there a line of code that can be copied and pasted? or maybe some sort of add-on to make this possible.
Not allot of code required to accomplish this.
1.) copy /includes/modules/new_products.php
2.) to /includes/modules/YOUR_TEMPLATE_FOLDER/new_products.php
3.) around line 23 & 40 (my file)
find $new_products_query = "select distinct p.products_id,
add after p.products_id, p.products_model,
4.) around line 73 (my file)
find $products_price);
5.) to add products id
add $products_price . '<br />' . $new_products->fields['products_id']);
6.) to add products model
add $products_price . '<br />' . $new_products->fields['products_model']);
7.) to add both products_id and products_model
add $products_price . '<br />' . $new_products->fields['products_id'] . '<br />' . $new_products->fields['products_model'] );
Hope this helps!
That worked thank you very much