Jump to content

Deleting unused code


DARKF3D3

Recommended Posts

Since i doesn't use some of the PS feature I want to also delete the unused code, so I can have a faster file loading.

 

 

For example I'll never use the comparator feature, so I'm thinking of deleting those line of con in product-list.tpl file:
 

{addJsDefL name=min_item}{l s='Please select at least one product' js=1}{/addJsDefL}
{addJsDefL name=max_item}{l s='You cannot add more than %d product(s) to the product comparison' sprintf=$comparator_max_item js=1}{/addJsDefL}
{addJsDef comparator_max_item=$comparator_max_item}
{addJsDef comparedProductsIds=$compared_products}

Do you think i can delete this without any risks?

Link to comment
Share on other sites

×
×
  • Create New...