Edit Layout Grid

I’m using the latest version of CS-cart, 2.1.2, and want to remove the “Add options” and “add to wishlist” links under the price in the products grid. Where do I find this template?



I looked in /www/skins/projection/customer/views/categories/components/categories_multicolumns.tpl but don’t see any reference to the options or wishlist links.



Thanks

Not sure why you have “Add options” if you don’t have them or don’t want them to be added.?



As for the wishlist, just disable the add-on.

[quote name=‘The Tool’]Not sure why you have “Add options” if you don’t have them or don’t want them to be added.?



As for the wishlist, just disable the add-on.[/QUOTE]



I’m sorry it’s actually “Select Options” not “add options”. And I don’t want to disable the wishlist. Thanks for the response though.

[quote name=‘idslamyou’]I’m sorry it’s actually “Select Options” not “add options”. And I don’t want to disable the wishlist. Thanks for the response though.[/QUOTE]



You want to remove it but you don’t want to disable it? :confused:



Look in /skins/your_skin/customer/blocks/list_templates/grid_list.tpl.

[quote name=‘The Tool’]You want to remove it but you don’t want to disable it? :confused:



Look in /skins/your_skin/customer/blocks/list_templates/grid_list.tpl.[/QUOTE]



Yes. I want to remove the wishlist link from the categories page, but I still want it to show on the product page.



I looked in that directory and found this code toward the end of the template:


```php



{assign var=“name” value=“name_$obj_id”}{$smarty.capture.$name}





{assign var=“old_price” value=“old_price_$obj_id”}

{if $smarty.capture.$old_price|trim}{$smarty.capture.$old_price} {/if}



{assign var=“price” value=“price_$obj_id”}

{$smarty.capture.$price}



{assign var=“clean_price” value=“clean_price_$obj_id”}

{$smarty.capture.$clean_price}





{assign var=“add_to_cart” value=“add_to_cart_$obj_id”}

{$smarty.capture.$add_to_cart}



{/hook}

{assign var=“form_close” value=“form_close_$obj_id”}

{$smarty.capture.$form_close}

{/if}





{/foreach}


{/foreach}


{if !$no_pagination}
{include file="common_templates/pagination.tpl"}
{/if}

{/if}

{capture name="mainbox_title"}{$title}{/capture} ```

For anyone else needing to do this, I removed the code below and it got rid of the links.

```php

{assign var="add_to_cart" value="add_to_cart_`$obj_id`"}
{$smarty.capture.$add_to_cart}
```

Thanks for the help.

[quote name=‘idslamyou’]Yes. I want to remove the wishlist link from the categories page, but I still want it to show on the product page.[/QUOTE]



Makes more sense now. :stuck_out_tongue: