Jump to content

razaro

Global Moderators
  • Posts

    2,617
  • Joined

  • Last visited

  • Days Won

    29

Community Answers

  1. razaro's post in Upgrade Earlier 1.6 Version to Latest 1.6 Version -- Not 1.7! was marked as the answer   
    You can use latest version of auto upgrade module, currently 4.4.0 
    https://github.com/PrestaShop/autoupgrade/releases but when installed click on "More options (expert mode)" button an select 
    Minor version from dropdown and click on save button. Then click  on  "check if there is new version" button and you should get 
    latest 1.6 version. http://nimb.ws/8ufmxr .
    Note like any upgrade do make manual backup of files and database and if you have 
    test/staging  site try upgrade there before working on production/live version of site.
  2. razaro's post in Bullet point don't show up was marked as the answer   
    OK here you go, replace last line you added in theme.css with 
    .product-information [id^=product-description-short] ul {list-style:inside} #description.tab-pane .product-description ul {list-style:inside} That should help and it is pointing to specific elements to not interfere with others.
     
    And good website you have, great images  
  3. razaro's post in site down php fatal error was marked as the answer   
    Most likely error is not in that file but in some module. Try to turn debug mode on
    www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/
    as it could give more information on that error. 
    If you have installed some new module recently try to disable it, if you have access to Back office. 
  4. razaro's post in I somehow misconfigurated the header was marked as the answer   
    Ok try first to edit both block ad see if under "Hook" is displayfooter  for both.
     
    You can try few things also. To reset module  but hen all changes would be lost.
    Or try to check in Design > Positions for module Link list where it is "hooked" into.
    If maybe it is in displayAfterBodyOpeningTag unhook it.
  5. razaro's post in Call Us Now and phone number disappears on smaller screens. Why? was marked as the answer   
    It is in css,  themes/default-bootstrap/css/modules/blockcontact/blockcontact.css
    .shop-phone { display: none; }
  6. razaro's post in Change forum email login address was marked as the answer   
    read here https://www.prestashop.com/forums/topic/501930-changing-mail-or-deleting-account/
  7. razaro's post in How to update your email in your profile here at prestashop.com forums was marked as the answer   
    Check instructions here 
    https://www.prestashop.com/forums/topic/501930-changing-mail-or-deleting-account/
     
    And moving this in right sub-forum.
  8. razaro's post in .htaccess Password for Shop was marked as the answer   
    Well try this, used on one site and was working. In your PrestaShop root  .htaccess after #end line add this
    Order deny,allow Deny from all AuthType Basic require valid-user AuthUserFile "/home/yourhostingaccount/.htpasswds/public_html/passwd" AuthName "Protected public_html" Satisfy Any ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=/failed.html\"></html>" Important thing is full path to paswd file in AuthUserFile. Change to your real  hosting account.
    For passwd file you use generator El Patron mentioned http://www.htaccesstools.com/htpasswd-generator/.
    Also note that part after .htpasswds. You need to create folders there that match your root prestashop folder.
    Here is just public_html.
     
    You can also add line
    Allow from 1.1.1.1 and change IP to one that access a lot and should bypass password prompt.
     
    If password is wrong you could add error document failed.html that is on same level like puplic_html
  9. razaro's post in if statemant in the product-list file was marked as the answer   
    Sorry was not paying attention, $product.id_product  need to be used
    {if $product.id_product == 12} <p class="redtxt" style="padding:5px 0 0 0; font-size:15px;"><strong>Delivery in 24h</strong></p> {/if}
  10. razaro's post in Homeslider Height bug was marked as the answer   
    Hi
     
    Think your images are bit big so slider js code fires before they are loaded so that is why dimension is 0.
    Try to compress images a bit maybe with https://tinyjpg.com/. i tried one 800KB image it got it down to 265KB
    but because of nature of store you maybe want to keep better quality images in slider. Not sure chek it out.
     
    Also do check http://stackoverflow.com/a/14849204/6828341 and edit homeslider.js in your theme js folder.
  11. razaro's post in How to change slideshow next & previous "dots" shapes & change colors? was marked as the answer   
    For changing colors you need to edit themes/theme998/css/modules/homeslider/homeslider.css file
    line 167 
    #homepage-slider .bx-wrapper .bx-pager.bx-default-pager a { background: #ffffff; text-indent: -9999px; display: block; width: 12px; height: 12px; margin: 0 4px 0 5px; outline: 0; -moz-border-radius: 12px; -webkit-border-radius: 12px; border-radius: 12px; } Change  background: #ffffff;  to color you want. Also if needed change hover color, line 184
    #homepage-slider .bx-wrapper .bx-pager.bx-default-pager a:hover, #homepage-slider .bx-wrapper .bx-pager.bx-default-pager a.active { background: #7d7d7d; }
  12. razaro's post in Prevent the customer from completing an order if a shipping quote does not apply was marked as the answer   
    Try this: in back ofiice edit your carrier and on second tab where prices are check this setting 
     
    Out-of-range behavior 
     
    set it to disable carrier. 
    Then it should not display carrier in checkout if order weight exceeds limit.
  13. razaro's post in Chinese symbols in mobile Top Menu Bar was marked as the answer   
    Hi seams you changed font for that simbol. You have in themes/default-bootstrap/css/modules/blocktopmenu/css/superfish-modified.css line 55
    .sf-menu > li span:after { font-family: "Corbel"; content: "\f067"; font-size: 26px; } but that is wrog font and it displays those letters. So use this instead
    .sf-menu > li span:after { font-family: "FontAwesome"; content: "\f067"; font-size: 26px; } Also if I may to suggest try this in same file line 44
    .sf-menu > li { float: none; position: relative; border-right: none; width: 100%; } to have each category in one row.
  14. razaro's post in When I choose a different language,the theme are changed,Why? was marked as the answer   
    When you entering data in back office take notice of language selector. 
    And not just at text/text area fields. In your case check module themeconfigurator
    and check every image/description in other languages, and also check homeslider.
    Think there you can upload image in each language.
  15. razaro's post in How Is Each Order Processed And Stored? was marked as the answer   
    What do you mean you can not find it ?
     
    It is in /classes/order Order.php with other classes in that folder that influence the process.
    Also check Cart.php and few modules like bankwire and cheque.
  16. razaro's post in Search Feature And Cart Not Clickable All Of A Sudden was marked as the answer   
    You seams to have some leftovers from some other menu module block, that goes over search
    <div class="menu-block container"> </div> Check in back office > modules > positions , displayTop hoook, what module is between pop search and mega menu 
    and if possible unhook it. Or you can hide that block with css 
    .menu-block { display: none; }
  17. razaro's post in Mobile Prestashop (Help) was marked as the answer   
    Well not sure if it solved as you should use Smarty cache for faster loading.
    But not sure what casing that error when Smarty cache is enabled.
  18. razaro's post in Center Column - Shopping Cart - Presta Version 1.6.1.3 was marked as the answer   
    You can get that by using id of body so 
    body#order-opc #center_column { background-color: #fbfbfb; } for center column of checkout page.
  19. razaro's post in Unsecured Links Destroying My Ssl Padlock was marked as the answer   
    Try with 
    <img src ="{$base_dir_ssl}img/blocklogo/{$logo.id_pos_logo}.jpg" alt ="{l s='Logo'}" /> in possslideshow.tpl file in theme module folder.
  20. razaro's post in Help Me In Locating The Inline Styling was marked as the answer   
    Think 5px is small so try to add to end of global.css
     
    #header-main .container .row {   padding: 10px 0 !important; }
  21. razaro's post in Problem With Horizontal Menu - Dropdown ( Mobile Mode ) was marked as the answer   
    On line 92 you have 
    .sf-menu li ul { display: none !important; edit so it is 
    .sf-menu li ul { display: none; not sure why you have those issues default theme menu should work ok if no modification are made.
  22. razaro's post in I Remove The Urls Id? was marked as the answer   
    Check this topic 
    https://www.prestashop.com/forums/topic/489546-the-clean-url-myth/
  23. razaro's post in About Review Fix was marked as the answer   
    Ok you need to edit review module tpl files a bit to match theme codding of tabs.
    In your theme modules/productcomments folder edit first tab.tpl from
    <h3 id="#idTab5" class="idTabHrefShort page-product-heading">{l s='Reviews' mod='productcomments'}</h3> to
    <li><a class="idTabHrefShort" href="#idTab5" data-toggle="tab">{l s='Reviews' mod='productcomments'}</a></li> and also in productcomments.tpl, top part from 
    <div id="idTab5"> <div id="product_comments_block_tab"> {if $comments} to
    <div id="idTab5" class="tm_productinner tab-pane"> <div id="product_comments_block_tab"> {if $comments} That should work but you test and see. And if you do not have those tpl files in that folder copy them from root module folder.
    And clear cache if needed.
  24. razaro's post in [Solved] Jquery Not Working On Category/store Pages ? was marked as the answer   
    You have JavaScript error in global.js line 44
    Uncaught ReferenceError: bindGrid is not defined it seams whole function is missing. You can comment out / delete that line as you seam do not want
    grid/list functionality.
     
    If you do code is in  https://github.com/PrestaShop/PrestaShop/blob/1.6.1.x/themes/default-bootstrap/js/global.js#L241
  25. razaro's post in get products by feature programmatically was marked as the answer   
    Try to use this query 
    $productsidsbyfeature = Db::getInstance()->executeS(' SELECT id_product, fl.name, value, pf.id_feature as id_feature FROM '._DB_PREFIX_.'feature_product pf LEFT JOIN '._DB_PREFIX_.'feature_lang fl ON (fl.id_feature = pf.id_feature AND fl.id_lang = '.(int)$context->language->id.') LEFT JOIN '._DB_PREFIX_.'feature_value_lang fvl ON (fvl.id_feature_value = pf.id_feature_value AND fvl.id_lang = '.(int)$context->language->id.') LEFT JOIN '._DB_PREFIX_.'feature f ON (f.id_feature = pf.id_feature) '.Shop::addSqlAssociation('feature', 'f').' WHERE fvl.`id_feature_value` = '. $id_of_selected_feature.' GROUP BY id_product ORDER BY f.position ASC '); Have used something similar in module I was working on. 
     
    This part needs id of feature you want but if you can change that part to feature name maybe.
×
×
  • Create New...