Lingerie Skin Documentation

Formatting the Special Features

Thanks for downloading our skin. We have put a LOT of work into it and hope you like what we've done. We will provide support for the skin but please keep in mind that this is free of charge and support may be limited by the time I have available to answer questions.

This skin has several special feature you can choose to configure to better suit your needs you will need and image editor of your choice and a text/code editor. For the text/code editor one that I personally like is an oldie but a goodie Winsyntax is not fancy but it works great. Go to http://www.winsyntax.com and you can download their editor for free. As always, downloading anything has risks and we cannot guarantee their site is secure. 

If you find a problem with the skin, have questions or need help please email me at bill@cnkapparel.com 


BX Slider

To use this feature from the admin section you will need to click on 'Documents' and open the Homepage Document for your site. Click the 'Source Code' button in the text editor and add the BX slider code like this

    <ul class="bxslider">

        <li> <a href="http://www.yoursite.com"><img src="../images/image1.jpg" title="image title" alt="image description"></a></li>

        <li> <a href="http://www.yoursite.com"><img src="../images/image1.jpg" title="image title" alt="image description"></a></li>

        <li> <a href="http://www.yoursite.com"><img src="../images/image1.jpg" title="image title" alt="image description"></a></li>

    </ul>

You can keep adding images by adding more <li> lines to this code. Obviously you will have to change the link and image info to match your site and images.

To not have the images hyperlinked simply remove the <a href.....> and </a> tags for each image.

Image size is 1140x 570 (can also use 1200x600 and it will scale the image to fit)


Home Page Sample Images

The 3 images at the bottom of the home page can be changed by first creating 3 of your own images and sizing them to 300x300px. Then upload them to the Lingerie Skin's 'image' folder. You can call them whatever you like or use the image names already used to overwrite this sample images.  These are

Picture1.jpg

Picture2.jpg

Picture3.jpg

Open the 'templates' folder of the Lingerie skin and find the file 'content.homepage.php' and open that in a text editor. At the bottom of that code you will see the link, photo, alt text and titles for these images. Change them to suit your needs.

When you are done save the file and upload it to your website.


Size Chart Link

This skin was designed to be a clothing store so it includes a Size Chart link next to the options on the product page. To use this feature just create a document called Size Charts. Click the 'Search Engines' tab and make sure it has the Custom SEO Path URL is size-charts. That's it. It is now configured.


Store Name and Address

A unique feature of this skin is the Store Name and Address in the footer. To configure this feature just go to 'Store Settings' and put in your Company Name and Address the way you want it displayed. Tip: you can add your phone number to the address panel as well. Most sites see a 30% increase in sales when a phone number is readily available. 


Categories

The category image has been disabled in this skin. Subcategories will still display images. To turn the Category Images back on open the 'templates' folder of the Lingerie Skin and open file 'content.category.php'. At the very top you will see this code

<!-- {if isset($category.image)}
<div class="row">
<div class="small-12 columns"><img src="{$category.image}" alt="{$category.cat_name}" class="marg-bottom"></div>
</div>
{/if} -->

Simple replace it with this

{if isset($category.image)}
<div class="row">
<div class="small-12 columns"><img src="{$category.image}" alt="{$category.cat_name}" class="marg-bottom"></div>
</div>
{/if}

The category description has been moved to the bottom of the bottom of the page. If you would like it at the top again simple add this text to line 20

{$category.cat_desc}

and then delete it from the lower section of the code (line 89 or so)

When you are done save the file and upload it to your website.


Short Descriptions

A relatively new feature to Cubecart is the short description for each product. The implementation is still in it's early stages and right now it shows the full description if no short description is specified. This feature has been added to the category pages but is commented out until it works better. To use the short descriptions on the category pages just got to line 65 of 'content.category.php' and find the following code

<!-- <span itemprop="description">{$product.description_short|strip_tags:true}</span> -->

Change it to this

<span itemprop="description">{$product.description_short|strip_tags:true}</span> 

When you are done save the file and upload it to your website.


Product Image Magnify

On the product detail pages the image displayed is magnified when you hover over it. This is controlled by javascript in the Lingerie skin. To change these setting open your 'js' folder and open file script.js in your text/code editor. At the top you will see that the magnification settings are set to 750 x750. You can change this to anything you like but the smaller you go the less magnification you get. 

When you are done save the file and upload it to your website.


Products Per Page

The default products per page for the Lingerie skin is 48. TO change this open up the Lingerie skin files and find 'config.xml'. Open that in your editor and find the layout / default products per page section

<layout>
<products>
<perpage amount="6" />
<perpage amount="12" />
<perpage amount="24" />
<perpage default="true" amount="48" />
<perpage amount="96" />
</products>
</layout>

Move the default="true" statement the line you want or simply change the amount to whatever number you want.

Farther down in the code you will see the image specs. These control all the images for the whole site. Thumbnail is for the latest products listed on the homepage and normal is for the category pages. Medium is the product detail page file size.

When you are done save the file and upload it to your website.


Changing the Latest Products on Homepage to Most Popular

There is a very simple mod that you can do to your site to change the products that are displayed on the home page from the latest added to the products with the most views. To do this you will need to open one file. Go the the 'Classes' folder in cubecart and open up 'cubecart.classes.php'. On line 96 find this code.

$latestProducts = $GLOBALS['db']->select('CubeCart_inventory', false, $where, array('date_added' => 'DESC', 'product_id' => 'DESC'), (int)$GLOBALS['config']->get('config', 'catalogue_latest_products_count'));

Change that to

$latestProducts = $GLOBALS['db']->select('CubeCart_inventory', false, $where, array( 'popularity' => 'DESC'), (int)$GLOBALS['config']->get('config', 'catalogue_latest_products_count'));

Save the file and upload it to your site. Then in the admin area under the setting section find Languages and click that. Select your language file(s) and edit the catalogue phrase group. Find the Latest Products wording and change that to whatever you like. Save that file and then you will need to clear your language cache to see the changes


Lingerie Skin for Cubecart6. Copyright (C) 2015 CNK Apparel

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/