Jump to content

guilhermedemellokich

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Location
    Porto Alegre, Brazil
  • First Name
    Guilherme
  • Last Name
    Kich

Recent Profile Visitors

224 profile views

guilhermedemellokich's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Hi, I had the same problem. PS. 1.6.1.15 I solved by changing the separator between {id} and {rewrite}. Before, the route to CMS page was like : content/{id}-{rewrite} I have changed to: content/{id}___{rewrite} I have put 3 underscores to guarantee that it is different from the others.
  2. Hi ! I use PS 1.6.1.15 I have put all product tags on category.tpl. I added this: <ul class="producttags"> {foreach from=$products item=product name=products} {foreach from=Tag::getProductTags($product.id_product) key=k item=v} {foreach from=$v item=value} <li><a href="{$link->getPageLink('search', true, NULL, "tag={$value|urlencode}")}">{$value|escape:html:'UTF-8'}</a></li> {/foreach} {/foreach} {/foreach} </ul> after this part: {include file="./product-list.tpl" products=$products} <div class="content_sortPagiBar"> <div class="bottom-pagination-content clearfix"> {include file="./product-compare.tpl" paginationId='bottom'} {include file="./pagination.tpl" paginationId='bottom'} </div> </div> you can add this styles to the global.css located in themes>default-bootstrap>css: .producttags { list-style:none; position:relative; clear:both; display:block; padding-bottom:20px; margin-bottom:20px; } .producttags li, .producttags a{ float:left; height:24px; line-height:24px; position:relative; font-size:11px; margin-bottom: 5px; } .producttags a{ margin-left:20px; padding:0 10px 0 12px; background:#0089e0; color:#fff; text-decoration:none; -moz-border-radius-bottomright:4px; -webkit-border-bottom-right-radius:4px; border-bottom-right-radius:4px; -moz-border-radius-topright:4px; -webkit-border-top-right-radius:4px; border-top-right-radius:4px; } .producttags a:visited{ color:#fff; } .producttags a:before{ content:""; float:left; position:absolute; top:0; left:-12px; width:0; height:0; border-color:transparent #0089e0 transparent transparent; border-style:solid; border-width:12px 12px 12px 0; } .producttags a:after{ content:""; position:absolute; top:10px; left:0; float:left; width:4px; height:4px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; background:#fff; -moz-box-shadow:-1px -1px 2px #004977; -webkit-box-shadow:-1px -1px 2px #004977; box-shadow:-1px -1px 2px #004977; } .producttags a:hover{background:#555; text-decoration:none;} .producttags a:hover:before{border-color:transparent #555 transparent transparent;} With much help from vekia. He wrote a tutorial with this code. I don't remember where it is, but his site is this: https://mypresta.eu/en/art/
  3. Hi ! I use PS 1.6.1.15 I have put all product tags on category.tpl. I added this: <ul class="producttags"> {foreach from=$products item=product name=products} {foreach from=Tag::getProductTags($product.id_product) key=k item=v} {foreach from=$v item=value} <li><a href="{$link->getPageLink('search', true, NULL, "tag={$value|urlencode}")}">{$value|escape:html:'UTF-8'}</a></li> {/foreach} {/foreach} {/foreach} </ul> after this part: {include file="./product-list.tpl" products=$products} <div class="content_sortPagiBar"> <div class="bottom-pagination-content clearfix"> {include file="./product-compare.tpl" paginationId='bottom'} {include file="./pagination.tpl" paginationId='bottom'} </div> </div> you can add this styles to the global.css located in themes>default-bootstrap>css: .producttags { list-style:none; position:relative; clear:both; display:block; padding-bottom:20px; margin-bottom:20px; } .producttags li, .producttags a{ float:left; height:24px; line-height:24px; position:relative; font-size:11px; margin-bottom: 5px; } .producttags a{ margin-left:20px; padding:0 10px 0 12px; background:#0089e0; color:#fff; text-decoration:none; -moz-border-radius-bottomright:4px; -webkit-border-bottom-right-radius:4px; border-bottom-right-radius:4px; -moz-border-radius-topright:4px; -webkit-border-top-right-radius:4px; border-top-right-radius:4px; } .producttags a:visited{ color:#fff; } .producttags a:before{ content:""; float:left; position:absolute; top:0; left:-12px; width:0; height:0; border-color:transparent #0089e0 transparent transparent; border-style:solid; border-width:12px 12px 12px 0; } .producttags a:after{ content:""; position:absolute; top:10px; left:0; float:left; width:4px; height:4px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; background:#fff; -moz-box-shadow:-1px -1px 2px #004977; -webkit-box-shadow:-1px -1px 2px #004977; box-shadow:-1px -1px 2px #004977; } .producttags a:hover{background:#555; text-decoration:none;} .producttags a:hover:before{border-color:transparent #555 transparent transparent;} With much help from: https://mypresta.eu/en/art/
  4. Is there a way to declare the variable cookie outside the function or clear the cookie before the new value is set? Like: $cookie->clear() ? Is there a way to declare the variable cookie outside the function or clear the cookie before the new value is set? Like: $cookie->clear() ?
  5. Hi. I am looking for a module to show the installments. I have already a local payment module which allows buying in installments but it is not shown on product page. The payment module calls Mercado Pago. I am from Brazil. Could you share your module? Does it work for other countries? Thank you!
×
×
  • Create New...