Jump to content
zednatix

[SOLVED] Velvet Sky theme - how to use with Prestashop 1.4.9

Recommended Posts

Slider Problems

============

Change slider from slideric module to minicslider module (free)

Get it here and install:

http://www.prestasho...hl__minicslider

 

you must change hook configuration of minicslider module to 'home', second position from above

and also deactivate the slideric nivo slider module

Then add your images via back office -> modules -> minicslider

 

voucher displaying failure

==================

themes/velvetsky/shopping-cart.tpl

 

between <h4>{l s='Vouchers'}</h4> and {if $displayVouchers}

 

replace with:

</br></br>

<p class="clear"></p>

<div class="clear"></div>

<p><class="submit">

<label for="discount_name">{l s='Code:'}</label></p>

<p><input type="text" id="discount_name" name="discount_name" value="{if isset($discount_name) && $discount_name}{$discount_name}{/if}" />

<input type="hidden" name="submitDiscount" /></p><p><input type="submit" name="submitAddDiscount" value="{l s='Add'}" class="button" /></p></br></br></br>

 

 

Problem with Comboslider and Product information fields

=======================================================

global.css replace original file with:

http://www.prestasho...attach_id=55633

 

correct height of long product titles

=====================================

Open velvetsky/css/product_list.css, go to line 33 or find the code below:

ul#product_list li h3 {

font-size: 1em;

line-height: 1.3em;

margin: 0.4em 0 0.1em;

}

 

add height (e.g. 33px),

 

ul#product_list li h3 {

font-size: 1em;

line-height: 1.3em;

margin: 0.4em 0 0.1em;

height: 33px;

 

 

To have 2 lines of text you can reduce truncate value on velvetsky/product-list.tpl file.

 

Code:

<h3>{if isset($product.new) && $product.new == 1}

<span class="new">{l s='New'}</span>{/if}

<a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">

{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}

</a>

</h3>

 

Reduce the value to 30 or less.

 

 

 

 

 

 

Fix Banner Problem

==================

Rename:

/modules/blockbanner/advertising_custom.jpg

to

/modules/blockbanner/banner.jpg

 

 

 

 

 

Remove the 'Add to Cart' button in Product List

===============================================

themes/velvetsky/product-list.tpl

 

Delete or deactivate with <!-- at the beginning and --> at the end of the code

 

{if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.minimal_quantity <= 1 && $product.customizable != 2 && !$PS_CATALOG_MODE}

{if ($product.allow_oosp || $product.quantity > 0)}

<a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="{$link->getPageLink('cart.php')}?add&id_product={$product.id_product|intval}{if isset($static_token)}&token={$static_token}{/if}" title="{l s='Add to cart'}">{l s='Add to cart'}</a>

{else}

<span class="exclusive">{l s='Add to cart'}</span>

{/if}

{/if}

 

 

Center 'View' button after Removing the 'Add to Cart' button in Product List

======================================================

 

themes/velvetsky/css/product_list.css

 

Find the code below:

ul#product_list li a.button, ul#product_list li span.exclusive {

background: url("../img/vs-btn-exclusive.png") repeat-x scroll 0 bottom #444444;

float: right;

margin-top: 0.5em;

width: 60px;

}

 

change code to:

ul#product_list li span.exclusive {

background: url('../img/vs-btn-exclusive.png') repeat-x scroll 0 bottom #444444;

float: right;

margin-top: 0.5em;

width: 60px;

}

ul#product_list li a.button {

background: url('../img/vs-btn-exclusive.png') repeat-x scroll 0 bottom #444444;

float: none;

margin: 0.5em auto 0;

margin-top: 0.5em;

width: 100px;

}

 

 

Remove the 'Add to Cart' button in Featured Products List

=========================================================

featured-list.tpl

 

Delete or deactivate with <!-- at the beginning and --> at the end of the code

 

{if $addcart}

{if ($product.quantity > 0 OR $product.allow_oosp) AND $product.customizable != 2}

<a class="exclusive" rel="ajax_id_product_{$product.id_product}" href="{$link->getPageLink('cart.php')}?qty=1&id_product={$product.id_product}&token={$static_token}&add" title="{l s='Add to cart' mod='comboslider'}">{l s='Add to cart' mod='comboslider'}</a>

{else}

<span class="exclusive">{l s='Add to cart' mod='comboslider'}</span>

{/if}

{/if}

 

 

 

 

comboslider.css

Find:

#center_column .products_block .wrapper_product .wrapper_button a.button

 

change complete code to:

#center_column .products_block .wrapper_product .wrapper_button a.button {

background: url("../img/vs-btn-exclusive.png") repeat-x scroll 0 bottom #444444;

float: none;

margin: 0.5em auto 0;

margin-top: 0.5em;

width: 100px;

}

 

 

For Small Business in Germany

=============================

themes/velvetsky/shopping-cart.tpl

-----------------

-> 205 bis 209 eingefügt:

<!-- EINGEFUEGT -->

<tr>

<td colspan="7">{l s='Alle Preise sind Endpreise. Nach Par.19 UStG wird keine Mehrwertsteuer ausgewiesen.'}</td>

</tr>

<!-- EINGEFUEGT -->

 

sources of solutions:

===============

http://www.prestasho...__1#entry906845

http://www.prestasho...320#entry989048

and maybe others that i have forgotten (sorry if so!)

THANK YOU ALL TO CONTRIBUTE!

 

Further problems and solutions with the Velvet Sky Theme and it's use on Prestashop 1.4.9 or 1.4.8 (should be the same) should be posted here

Share this post


Link to post
Share on other sites

Hi... how to fix the ComboSlider in 1.4.11? the image seems to be expanded for mine.

 

combo-error.jpg

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More