webspinning Posted April 6, 2015 Share Posted April 6, 2015 has any one discovered how to change the default number of products displayed? Used to be an option now it is set to 10 or all. NOt sure how to change the default from 10 to say 20? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 6, 2015 Share Posted April 6, 2015 What version are you on? I think this bug has been fixed in 6.0.2. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 7, 2015 Share Posted April 7, 2015 It's not a bug. In v6 skins you need to edit the page splits and set the default one in the skins/{skin in use}/config.xml file Quote Link to comment Share on other sites More sharing options...
webspinning Posted April 7, 2015 Author Share Posted April 7, 2015 Thanks the new config.xml is very different to that used in the skin for v5. I will copy one over from a default skin and edit appropriately. Thank you for the steer. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 7, 2015 Share Posted April 7, 2015 It's exactly the same but with an added block for layout. Quote Link to comment Share on other sites More sharing options...
JoshuaH Posted April 19, 2015 Share Posted April 19, 2015 hi. i couldnt find any config.xml with added block for layout in 6.0.2 and the bug wasn't fixed Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 19, 2015 Share Posted April 19, 2015 Here is a part of the config.xml file you will find in a CC5 skin from a CC5 package: <creator>CubeCart Ltd</creator> <homepage>http://www.cubecart.com</homepage> <mobile>false</mobile> </info> Here is the same part from the Foundation skin: <creator>CubeCart Limited</creator> <homepage>http://www.cubecart.com</homepage> <mobile>false</mobile> <responsive>true</responsive> </info> <layout> <products> <perpage amount="6" /> <perpage default="true" amount="12" /> <perpage amount="24" /> <perpage amount="48" /> <perpage amount="96" /> </products> </layout> Try adding the following to the CC5 skin: After: </info> Add: <layout> <products> <perpage default="true" amount="20" /> </products> </layout> Quote Link to comment Share on other sites More sharing options...
Sam Rush Posted May 15, 2015 Share Posted May 15, 2015 Just found this and used the code as suggested and just wanted to say thanks because it worked perfectly! Quote Link to comment Share on other sites More sharing options...
WalterL48 Posted September 11, 2015 Share Posted September 11, 2015 I'm using the e-tone skin and am having this problem also. I've tried adding the above code, but still no luck. Here's the XML file for the e-tone skin:<?xml version="1.0"?><skin version="3.1"> <info> <uid>[email protected]</uid> <type>skin</type> <name><![CDATA[e-tone]]></name> <display><![CDATA[e-Tone]]></display> <version>1.0</version> <minVersion>5.0.0a</minVersion> <maxVersion>5.2.*</maxVersion> <creator>Webcity Australia</creator> <homepage>http://design.webcity.com.au</homepage> <mobile>false</mobile> </info> <layout> <products> <perpage default="true" amount="12" /> </products> </layout> <styles> <style images="false" default="true"> <directory>black</directory> <name><![CDATA[e-Tone Black]]></name> <description><![CDATA[Black style]]></description> </style> <style images="false"> <directory>blue</directory> <name><![CDATA[e-Tone Blue]]></name> <description><![CDATA[Blue style]]></description> <default /> </style> <style images="false"> <directory>green</directory> <name><![CDATA[e-Tone Green]]></name> <description><![CDATA[Green style]]></description> </style> <style images="false"> <directory>grey</directory> <name><![CDATA[e-Tone Grey]]></name> <description><![CDATA[Grey style]]></description> </style> <style images="false"> <directory>orange</directory> <name><![CDATA[e-Tone Orange]]></name> <description><![CDATA[Orange style]]></description> </style> <style images="false"> <directory>red</directory> <name><![CDATA[e-Tone Red]]></name> <description><![CDATA[Red style]]></description> </style> </styles> <images> <image reference="thumbnail" maximum="120" quality="80" default="noimage_thumbnail.png" /> <image reference="category" maximum="270" quality="100" default="" /><!-- Doesnt need a default --> <image reference="subcategory" maximum="120" quality="80" default="noimage_subcategory.png" /> <image reference="gallery" maximum="40" quality="60" default="noimage_gallery.png" /> <image reference="normal" maximum="270" quality="90" default="noimage_normal.png" /> <image reference="tiny" maximum="40" quality="60" default="noimage_thumbnail_tiny.png" /> <image reference="small" maximum="120" quality="80" default="noimage_thumbnail.png" /> <image reference="medium" maximum="270" quality="100" default="noimage_normal.png" /> <image reference="large" maximum="600" quality="100" default="" /><!-- Doesnt need a default --> </images> </skin> Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted September 11, 2015 Share Posted September 11, 2015 Looks like changing this section to suit should do it: <layout> <products> <perpage default="true" amount="12" /> </products> </layout> Quote Link to comment Share on other sites More sharing options...
WalterL48 Posted September 11, 2015 Share Posted September 11, 2015 Hi DB. I did that. It didn't work at first, but now it does seem to be working. I guess I need to wait a day or two to see if changes take effect before posting.Thanks! Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted September 11, 2015 Share Posted September 11, 2015 How about going back to tne developer of this skin and asking for support ? Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 12, 2015 Share Posted September 12, 2015 CubeCart caches some aspects of the skin data. Perhaps that cached file expired and CubeCart took a fresh look at the data in the config.xml file. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.