Jump to content

norbertlaza

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • First Name
    Laza
  • Last Name
    Norbert

Recent Profile Visitors

103 profile views

norbertlaza's Achievements

Newbie

Newbie (1/14)

  • Conversation Starter Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. Hello, I want to add a block to the product.tpl with contact details from "our stores" section and is not working. This is the code I want to add to product.tpl. {foreach $stores as $store} <article id="store-{$store.id}" class="store-item card"> <div class="store-item-container clearfix"> <div class="col-md-3 store-picture hidden-sm-down"> <img src="{$store.image.bySize.stores_default.url}" {if !empty($store.image.legend)} alt="{$store.image.legend}" title="{$store.image.legend}" {else} alt="{$store.name}" {/if} > </div> <div class="col-md-5 col-sm-7 col-xs-12 store-description"> <p class="h3 card-title">{$store.name}</p> <address>{$store.address.formatted nofilter}</address> {if $store.note || $store.phone || $store.fax || $store.email} <a data-toggle="collapse" href="#about-{$store.id}" aria-expanded="false" aria-controls="about-{$store.id}"><strong>{l s='About and Contact' d='Shop.Theme.Global'}</strong><i class="material-icons">&#xE409;</i></a> {/if} </div> <div class="col-md-4 col-sm-5 col-xs-12 divide-left"> <table> {foreach $store.business_hours as $day} <tr> <th>{$day.day|truncate:4:'.'}</th> <td> <ul> {foreach $day.hours as $h} <li>{$h}</li> {/foreach} </ul> </td> </tr> {/foreach} </table> </div> </div> <footer id="about-{$store.id}" class="collapse"> <div class="store-item-footer divide-top"> {if $store.note} <div class="card-block"> <p class="text-justify">{$store.note}</p> </div> {/if} <ul class="card-block"> {if $store.phone} <li><i class="material-icons">&#xE0B0;</i>{$store.phone}</li> {/if} {if $store.fax} <li><i class="material-icons">&#xE8AD;</i>{$store.fax}</li> {/if} {if $store.email} <li><i class="material-icons">&#xE0BE;</i>{$store.email}</li> {/if} </ul> </div> </footer> </article> {/foreach} Can someone help me out?
  2. In /themes/core.js we have this line of code (0, _jquery2['default'])('#product-details').replaceWith(data.product_details); I need to refresh the product referance ,when I chouse another combination of that product, code only.....and I can't find a way to do it.... something like (0, _jquery2['default'])('#myid').replaceWith(data.product_referance)..... data.product_referance not working.....
  3. I have the same err: [Ajax / Server Error for action upgradeDb] textStatus: "error " errorThrown:" " jqXHR: " " I have tryed everything....even upgrade from local folder or archive....
×
×
  • Create New...