Jump to content

Qué hacer para que apareza el precio con IVA ya incluido (SOLUCIONADO) Gracias Rubalcaba


kaluka

Recommended Posts

por favor, cómo hago para que me aparezcan los precios con el iva ya incluido en la página HOME en el MODULO BLOCK PRODUCTS CAROUSEL de mi página web www.kaluka.es

 

En el resto de las páginas, si que aparecen los precios con el iva incluido, curiosamente!!!

 

En la pestaña Clientes -> Grupos , he revisado los grupos y ya está fijado en todos el "metodo de visualización de precios" TASA INCLUIDA

 

Por favor, ayudadme.. Sé que es de difícil solución, pero sé que hay auténticos cracks en este foro.

muchas gracias

Edited by kaluka (see edit history)
Link to comment
Share on other sites

hola otra vez, mi angel salvador jajajaja; mira este es el Producstcarousel.tpl; a ver si das con el dichoso fallo que no muestra el precio con el iva ya incluido en HOME, en el carousel. muchas gracias

 

{if $page_name == "index"}

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

<!-- jCarousel library -->

<script>

$(function() {

$(".main .jCarouselLite").jCarouselLite_f({

btnNext: ".main .nav_next",

btnPrev: ".main .nav_prev",

speed: 300,

visible: {$visible_products},

scroll: {$products_to_scroll},

auto: 0

});

 

});

 

</script>

<style type="text/css">

#productsCarousel ul li { width:{$cell_width}px; }

{if isset($theme_settings.image_type) && $theme_settings.image_type == 1}

#productsCarousel ul li a.slide-animate { height:{$cell_width}px; }

{/if}

.preloadImg {

background:url({$content_dir}modules/productsCarousel/images/buttons_active.png) 0 0;

position:absolute;

left:-9999px;

}

.preloadImg div{ background:url({$content_dir}modules/productsCarousel/images/buttons_pressed.png) 0 0; }

 

</style>

<div class="preloadImg"><div></div></div>

<div id="productsCarousel" class="main">

<div class="container_border">

{if $products_type == 0}

<h4>{l s='New products' mod='productsCarousel'}</h4>

{else}

<h4>{l s='Featured products' mod='productsCarousel'}</h4>

{/if}

<button class="nav_prev"></button>

<button class="nav_next"></button>

<div class="viewport">

<div class="jCarouselLite">

{if $products_type == 0}

{if $new_products}

<ul id="mycarousel">

{foreach from=$new_products item=product name=products}

{assign var='productLink' value=$link->getProductLink($product.id_product, $product.link_rewrite)}

<li class="block_product">

<a href="{$productLink}" title="{$product.legend}" class="slide-animate">

<img src="{$link->getImageLink($product.link_rewrite,$product.id_image, 'large')}" alt="{$product.name|escape:html:'UTF-8'}" /><br />

</a>

<a class="f_title" href="{$productLink}" title="{$product.legend}">{$product.name|escape:htmlall:'UTF-8'|truncate:35}</a>

<div class="price">

<span>{convertPrice price=$product.price_tax_exc}</span>

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

<a class="exclusive ajax_add_to_cart_button" 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='productsCarousel'}">{l s='Add to cart' mod='productsCarousel'}</a>

{else}

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

{/if}

</div>

</li>

{/foreach}

</ul>

{else}<b>{l s='No products' mod='productsCarousel'}</b>{/if}

{else}

{if $featuredProducts}

<ul id="mycarousel">

{foreach from=$featuredProducts item=product name=products}

{assign var='productLink' value=$link->getProductLink($product.id_product, $product.link_rewrite)}

<li class="block_product">

<a href="{$productLink}" title="{$product.legend}" class="slide-animate">

<img src="{$link->getImageLink($product.link_rewrite,$product.id_image, 'large')}" alt="{$product.name|escape:html:'UTF-8'}" /><br />

</a>

<a class="f_title" href="{$productLink}" title="{$product.legend}">{$product.name|escape:htmlall:'UTF-8'|truncate:35}</a>

<div class="price">

<span>{convertPrice price=$product.price_tax_exc}</span>

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

<a class="exclusive ajax_add_to_cart_button" 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='productsCarousel'}">{l s='Add to cart' mod='productsCarousel'}</a>

{else}

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

{/if}

</div>

</li>

{/foreach}

</ul>

{else}<b>{l s='No products' mod='productsCarousel'}</b>{/if}

{/if}

</div>

</div>

</div>

</div>

{/if}

Link to comment
Share on other sites

hola otra vez, mi angel salvador jajajaja; mira este es el Producstcarousel.tpl; a ver si das con el dichoso fallo que no muestra el precio con el iva ya incluido en HOME, en el carousel. muchas gracias

 

{if $page_name == "index"}

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

<!-- jCarousel library -->

<script>

$(function() {

$(".main .jCarouselLite").jCarouselLite_f({

btnNext: ".main .nav_next",

btnPrev: ".main .nav_prev",

speed: 300,

visible: {$visible_products},

scroll: {$products_to_scroll},

auto: 0

});

 

});

 

</script>

<style type="text/css">

#productsCarousel ul li { width:{$cell_width}px; }

{if isset($theme_settings.image_type) && $theme_settings.image_type == 1}

#productsCarousel ul li a.slide-animate { height:{$cell_width}px; }

{/if}

.preloadImg {

background:url({$content_dir}modules/productsCarousel/images/buttons_active.png) 0 0;

position:absolute;

left:-9999px;

}

.preloadImg div{ background:url({$content_dir}modules/productsCarousel/images/buttons_pressed.png) 0 0; }

 

</style>

<div class="preloadImg"><div></div></div>

<div id="productsCarousel" class="main">

<div class="container_border">

{if $products_type == 0}

<h4>{l s='New products' mod='productsCarousel'}</h4>

{else}

<h4>{l s='Featured products' mod='productsCarousel'}</h4>

{/if}

<button class="nav_prev"></button>

<button class="nav_next"></button>

<div class="viewport">

<div class="jCarouselLite">

{if $products_type == 0}

{if $new_products}

<ul id="mycarousel">

{foreach from=$new_products item=product name=products}

{assign var='productLink' value=$link->getProductLink($product.id_product, $product.link_rewrite)}

<li class="block_product">

<a href="{$productLink}" title="{$product.legend}" class="slide-animate">

<img src="{$link->getImageLink($product.link_rewrite,$product.id_image, 'large')}" alt="{$product.name|escape:html:'UTF-8'}" /><br />

</a>

<a class="f_title" href="{$productLink}" title="{$product.legend}">{$product.name|escape:htmlall:'UTF-8'|truncate:35}</a>

<div class="price">

<span>{convertPrice price=$product.price_tax_exc}</span>

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

<a class="exclusive ajax_add_to_cart_button" 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='productsCarousel'}">{l s='Add to cart' mod='productsCarousel'}</a>

{else}

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

{/if}

</div>

</li>

{/foreach}

</ul>

{else}<b>{l s='No products' mod='productsCarousel'}</b>{/if}

{else}

{if $featuredProducts}

<ul id="mycarousel">

{foreach from=$featuredProducts item=product name=products}

{assign var='productLink' value=$link->getProductLink($product.id_product, $product.link_rewrite)}

<li class="block_product">

<a href="{$productLink}" title="{$product.legend}" class="slide-animate">

<img src="{$link->getImageLink($product.link_rewrite,$product.id_image, 'large')}" alt="{$product.name|escape:html:'UTF-8'}" /><br />

</a>

<a class="f_title" href="{$productLink}" title="{$product.legend}">{$product.name|escape:htmlall:'UTF-8'|truncate:35}</a>

<div class="price">

<span>{convertPrice price=$product.price_tax_exc}</span>

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

<a class="exclusive ajax_add_to_cart_button" 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='productsCarousel'}">{l s='Add to cart' mod='productsCarousel'}</a>

{else}

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

{/if}

</div>

</li>

{/foreach}

</ul>

{else}<b>{l s='No products' mod='productsCarousel'}</b>{/if}

{/if}

</div>

</div>

</div>

</div>

{/if}

 

Mira ver si cambiando esto:

 

<span>{convertPrice price=$product.price_tax_exc}</span>

 

Por esto:

 

<span>{convertPrice price=$product.price}</span>

 

te funciona..

Edited by Rubalcaba (see edit history)
  • Like 1
Link to comment
Share on other sites

Rubalcaba, eres un CRACK... ya es la segunda vez que me ayudas y que me das la solución... MUCHIIISIMAS GRACIAS. SOLUCIONAAAADOOOOOO.

Hay que ir al modulo de tu tema Producscarousel e ir al fichero Producstcarousel.tpl, y donde pone

<span>{convertPrice price=$product.price_tax_exc}</span>

cambiarlo por

<span>{convertPrice price=$product.price}</span>

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...