Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Sub-category default view list instead of thumbnail
 
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 09-01-2014, 01:27 AM
 
kokeyuk1 kokeyuk1 is offline
 

Member
  
Join Date: Jul 2013
Posts: 23
 

Default Sub-category default view list instead of thumbnail

Hi,

We are look for a way to change our default view on certain sub-categories. We have a browse by model category which is a page of brand logos, we then want sub category 1 to be in a list as default with no thumbnails, but then sub-category 2 to revert back to thumbnails showing the products available for subcategory 1.

Is this possible? I know the list format can be clicked, but we want it to be a default for all customers as the amount of sections in sub 1 looks very messy with thumbnails.

Thanks
__________________
WBK3p2snmcUwpP0V1MtfpCuV6qUAD282
Reply With Quote
  #2  
Old 09-01-2014, 05:08 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,825
 

Default Re: Sub-category default view list instead of thumbnail

I think this is very possible. Perhaps just a module that adds a checkbox on the category page, allowing you to toggle "display in list".
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 09-03-2014, 03:32 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,423
 

Default Re: Sub-category default view list instead of thumbnail

It would be a combination of following modules:

http://forum.x-cart.com/showthread.php?p=375725#post375725
http://kb.x-cart.com/pages/viewpage.action?pageId=7504837#Webinar2-10Apr2014-DesignchangesinX-Cart5(Custom...insteadofGrid?

So, you should take condition from the first mod and define list type depending on this condition.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #4  
Old 09-04-2014, 03:08 AM
 
kokeyuk1 kokeyuk1 is offline
 

Member
  
Join Date: Jul 2013
Posts: 23
 

Default Re: Sub-category default view list instead of thumbnail

Quote:
Originally Posted by tony_sologubov
It would be a combination of following modules:

http://forum.x-cart.com/showthread.php?p=375725#post375725
http://kb.x-cart.com/pages/viewpage.action?pageId=7504837#Webinar2-10Apr2014-DesignchangesinX-Cart5(Custom...insteadofGrid?

So, you should take condition from the first mod and define list type depending on this condition.

Thanks, will give this a try.

Do you think this would be a good addition as a default option when creating categories?
__________________
WBK3p2snmcUwpP0V1MtfpCuV6qUAD282
Reply With Quote
  #5  
Old 09-04-2014, 12:43 PM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,423
 

Default Re: Sub-category default view list instead of thumbnail

It depends on how often you create categories. Do you often create them?
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #6  
Old 09-05-2014, 04:58 AM
 
kokeyuk1 kokeyuk1 is offline
 

Member
  
Join Date: Jul 2013
Posts: 23
 

Default Re: Sub-category default view list instead of thumbnail

We have an expanding catalog, not just for us, i think it would be a good feature for anyone, having list as a default cleans big categories up and makes the site look a lot neater.

Back to the problem and the steps you said to solve it. I followed the steps to create the module, but upon resetting cache the store gets stuck on step 6 of 11. I deleted the created module and did the cache again and it got the store out of maintenance mode. Any idea why the store keeps getting stuck?
__________________
WBK3p2snmcUwpP0V1MtfpCuV6qUAD282
Reply With Quote
  #7  
Old 09-05-2014, 05:39 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,423
 

Default Re: Sub-category default view list instead of thumbnail

1) Do you have any error messages in the <X-Cart>/var/log/ folder? If so, please send them to me.
2) In order to reset the cache rebuilding process please follow the instruction here:
http://kb.x-cart.com/display/XDD/What+to+do+if+you+cannot+access+your+store+and+it+ says+we+are+deploying+new+changes

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:50 AM.

   

 
X-Cart forums © 2001-2018