Rich Posted August 24, 2020 Share Posted August 24, 2020 I want any new viewer of the store to see the compressed (name & picture only) form of a product list, and only see the description of a product if they click on a product or change to the expanded view. How do I set that up? Link to comment Share on other sites More sharing options...
bsmither Posted August 24, 2020 Share Posted August 24, 2020 There are four edits to make to have the initial view switched from list to grid: In the template content.category.php, near line 60-61: From: <dd><a href="#" class="grid_view"><svg class="icon"><use xlink:href="#icon-th-large"></use></svg></a></dd> <dd class="active"><a href="#" class="list_view"><svg class="icon"><use xlink:href="#icon-th-list"></use></svg></a></dd> To: <dd class="active"><a href="#" class="grid_view"><svg class="icon"><use xlink:href="#icon-th-large"></use></svg></a></dd> <dd><a href="#" class="list_view"><svg class="icon"><use xlink:href="#icon-th-list"></use></svg></a></dd> Near line 67: From: <ul class="small-block-grid-1 product_list" data-equalizer> To: <ul class="small-block-grid-1 medium-block-grid-3 product_list" data-equalizer> Near line 71: From: <div class="row product_list_view"> To: <div class="row product_list_view hide"> Near line 131: From: <div class="product_grid_view hide"> To: <div class="product_grid_view"> Have CubeCart clear its internal cache. Also, there may be a cookie ('product_view') to tell CubeCart what view to use. You will need to delete that cookie so that CubeCart will use the initial classes. Link to comment Share on other sites More sharing options...
Rich Posted August 24, 2020 Author Share Posted August 24, 2020 Great! Many thanks!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.