JobShimo Posted January 11, 2014 Share Posted January 11, 2014 Como no encuentro solución al problema de las combinaciones (http://www.prestashop.com/forums/topic/3007[spam-filter]problema-modulo-attributeposition/?do=findComment&comment=1520987) Me he puesto a probar a ver si podia agregar algunas de esas combinaciones como accesorios. Una vez agregados los accesorios, no se muestra nada, solo la pestaña. http://sexytante.com/es/vibradores/15884-rechargeable-rabbit-silicone.html Mi web es www.sexytante.com Mi versión de prestashop 1.5.6.0 Link to comment Share on other sites More sharing options...
JobShimo Posted January 11, 2014 Author Share Posted January 11, 2014 EL codigo que sale en el product.tpl es: <!-- accessories --> <div id="idTab4" class="bullet"> <div class="block products_block accessories_block clearfix"> <div class="block_content"> <ul> {foreach from=$accessories item=accessory name=accessories_list} {if ($accessory.allow_oosp || $accessory.quantity_all_versions > 0 || $accessory.quantity > 0) AND $accessory.available_for_order AND !isset($restricted_country_mode)} {assign var='accessoryLink' value=$link->getProductLink($accessory.id_product, $accessory.link_rewrite, $accessory.category)} <li class="ajax_block_product{if $smarty.foreach.accessories_list.first} first_item{elseif $smarty.foreach.accessories_list.last} last_item{else} item{/if} product_accessories_description"> <p class="s_title_block"> <a href="{$accessoryLink|escape:'htmlall':'UTF-8'}">{$accessory.name|escape:'htmlall':'UTF-8'}</a> {if $accessory.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} - <span class="price">{if $priceDisplay != 1}{displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc}{/if}</span>{/if} </p> <div class="product_desc"> <a href="{$accessoryLink|escape:'htmlall':'UTF-8'}" title="{$accessory.legend|escape:'htmlall':'UTF-8'}" class="product_image"><img src="{$link->getImageLink($accessory.link_rewrite, $accessory.id_image, 'medium_default')|escape:'html'}" alt="{$accessory.legend|escape:'htmlall':'UTF-8'}" width="{$mediumSize.width}" height="{$mediumSize.height}" /></a> <div class="block_description"> <a href="{$accessoryLink|escape:'htmlall':'UTF-8'}" title="{l s='More'}" class="product_description">{$accessory.description_short|strip_tags|truncate:400:'...'}</a> </div> <div class="clear_product_desc"> </div> </div> <p class="clearfix" style="margin-top:5px"> <a class="button" href="{$accessoryLink|escape:'htmlall':'UTF-8'}" title="{l s='View'}">{l s='View'}</a> {if !$PS_CATALOG_MODE && ($accessory.allow_oosp || $accessory.quantity > 0)} <a class="exclusive button ajax_add_to_cart_button" href="{$link->getPageLink('cart', true, NULL, "qty=1&id_product={$accessory.id_product|intval}&token={$static_token}&add")|escape:'html'}" rel="ajax_id_product_{$accessory.id_product|intval}" title="{l s='Add to cart'}">{l s='Add to cart'}</a> {/if} </p> </li> {/if} {/foreach} </ul> </div> </div> </div> {/if} pero analizándolo en la web con firebug no lo veo. Link to comment Share on other sites More sharing options...
JobShimo Posted January 11, 2014 Author Share Posted January 11, 2014 Me he dado cuenta que si desactivo la opción "¿Activar el manejo automático del inventario?" en Preferencias Productos si me salen los accesorios. El tema es que no quiero desactivar esa opción. Link to comment Share on other sites More sharing options...
Karlos123 Posted February 21, 2015 Share Posted February 21, 2015 tengo el mismo problema...... Link to comment Share on other sites More sharing options...
[email protected] Posted January 30, 2016 Share Posted January 30, 2016 me sucede lo mismo y además al seleccionar distintas tallas estas deberían cambiar de precio y no lo hacen, ayuda!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now