Jump to content

taydotech123

Members
  • Posts

    69
  • Joined

  • Last visited

Profile Information

  • First Name
    ha
  • Last Name
    truong trong

Recent Profile Visitors

254 profile views

taydotech123's Achievements

Newbie

Newbie (1/14)

3

Reputation

2

Community Answers

  1. you can enable debug: - view Advanced Parameters, you will see debug mode: Disable non PrestaShop modules: Yes Disable all overrides: Yes if that function is fast, I think your site have another module caused slow it, you need check your site
  2. yes, copy & override is best solution in prestashop
  3. what is error? we did not see anything from your post?
  4. can not change this, if you ONLY have this case, you can modify it in database
  5. classes\controller\FrontController.php
  6. you can find this line at here: themes/your_theme/product.tpl <p id="availability_statut"{if !$PS_STOCK_MANAGEMENT || ($product->quantity <= 0 && !$product->available_later && $allow_oosp) || ($product->quantity > 0 && !$product->available_now) || !$product->available_for_order || $PS_CATALOG_MODE} style="display: none;"{/if}> {*<span id="availability_label">{l s='Availability:'}</span>*} <span id="availability_value" class="label{if $product->quantity <= 0 && !$allow_oosp} label-danger{elseif $product->quantity <= 0} label-warning{else} label-success{/if}">{if $product->quantity <= 0}{if $PS_STOCK_MANAGEMENT && $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{elseif $PS_STOCK_MANAGEMENT}{$product->available_now}{/if}</span> </p>
  7. you can do this: - Open this file: themes/your_theme/index.tpl - insert your text before this code: YOUR_TEXT<ul id="home-page-tabs" class="nav nav-tabs clearfix"> {$HOOK_HOME_TAB} </ul>
  8. DO NOT copy, prestashop allow create many many CMSblock. you can access: Modules >> CMS Blocks >> Configure and create new Block
  9. NO, TinyMCE automatic remove any javascript+css code when you enter them before save
  10. i think you MUST custom a module for this, you should post your job to Job Offer topic. good luck !
  11. you can make a module hook to displayHeader. then make a function like: function hookDisplayHeader($params){ $this->context->smarty->asssign("sayi",1) } So you can use sayi variable on anywhere in tpl file
×
×
  • Create New...