The browsing history style of ecshop. For example, I modified the product name that only allows browsing history to display browsing history, but not the prices and images of browsing history products.
First, find the file to be modified.
Find function insert_history ()
Function
$ Str. = '<ul class = "Clearfix"> <li class = "goodsimg"> <a href = "'. $ goods ['url']. '"target =" _ blank "> </a> </LI> <li> <a href = "'. $ goods ['url']. '"target =" _ blank "Title = "'. $ goods ['goods _ name']. '"> '. $ goods ['short _ name']. '</a> <br/> '. $ globals ['_ Lang'] ['shop _ price']. '<font class = "f1"> '. $ goods ['shop _ price']. '</font> <br/> </LI> </ul> ';
Is the $ STR line under the browsing history style. = '<ul id = "clear_history"> <a onclick = "clear_history ()"> '. $ globals ['_ Lang'] ['clear _ history ']. '</a> </ul>'; is the link for clearing
The final code for modifying only the product names that show browsing history is as follows:
$ Str. = '<ul class = "Clearfix"> <li> <a href = "'. $ goods ['url']. '"target =" _ blank "Title = "'. $ goods ['goods _ name']. '"> '. $ goods ['short _ name']. '</a> <br/> </LI> </ul>'
Modify the browsing history style of ecshop