Jump to content

srm200

Members
  • Posts

    33
  • Joined

  • Last visited

About srm200

  • Birthday 02/20/1991

Profile Information

  • Location
    Bucuresti
  • Activity
    User/Merchant

srm200's Achievements

  1. Hello, I have tried this free module and it works perfectly on P.S. 1.7.7.8: https://bontheme.com/prestashop-modules/design-navigation/live-search-product-ajax-free-prestashop-module Hope that helps!
  2. The only 2 things thing that i am having in blocktopmenu module folder are the translation folder and the blocktopmenu.tpl file that contains the following code: {if $MENU != ''} <!-- Menu --> <div id="block_top_menu" class="sf-contener clearfix col-lg-12"> <div class="cat-title">{l s="Categories" mod="blocktopmenu"}</div> <ul class="sf-menu clearfix menu-content"> {$MENU} {if $MENU_SEARCH} <li class="sf-search noBack" style="float:right"> <form id="searchbox" action="{$link->getPageLink('search')|escape:'html':'UTF-8'}" method="get"> <p> <input type="hidden" name="controller" value="search" /> <input type="hidden" value="position" name="orderby"/> <input type="hidden" value="desc" name="orderway"/> <input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|escape:'html':'UTF-8'}{/if}" /> </p> </form> </li> {/if} </ul> </div> <!--/ Menu --> {/if}
  3. Hello, I am trying to remove the title from the top menu buttons but without succes. I've tried to delete the title tag from the blocktopmenu.tpl file but didn't find it there, then i deleted all title tags in the blocktopmenu.php file but also without succes. i spend about 5 hours trying to sort this out but now luck. I hope that someone could help me with this one. My ps version is 1.6
  4. Solved ! The problem was in the .htaccess file. I don't know exactly what happens but the bad one looks like this: <Files *.ini> Order deny,allow Deny from All </Files> SetEnv PHPRC /home/cosmeti2/ #contentpack - not remove this comment RewriteRule ^(.*)blog/category/([0-9a-zA-Z-_]+)/?$ /modules/contentpack/blockblog-category.php?category_id=$2 [QSA,L] RewriteRule ^(.*)blog/post/([0-9a-zA-Z-_]+)/?$ /modules/contentpack/blockblog-post.php?post_id=$2 [QSA,L] RewriteRule ^(.*)blog/categories/?$ /modules/contentpack/blockblog-categories.php [QSA,L] RewriteRule ^(.*)blog/?$ /modules/contentpack/blockblog-all-posts.php [QSA,L] RewriteRule ^(.*)testimonials/?$ /modules/contentpack/blockshopreviews-form.php [QSA,L] RewriteRule ^(.*)faq/?$ /modules/contentpack/faq.php [QSA,L] RewriteRule ^(.*)guestbook/?$ /modules/contentpack/blockguestbook-form.php [QSA,L] RewriteRule ^(.*)news/?$ /modules/contentpack/items.php [QSA,L] RewriteRule ^(.*)news/([0-9a-zA-Z-_]+)/?$ /modules/contentpack/item.php?item_id=$2 [QSA,L] #contentpack # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> # Disable Multiviews Options -Multiviews RewriteEngine on RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^c/([a-zA-Z-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^.*$ - [NC,L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again and the good one looks like this: <Files *.ini> Order deny,allow Deny from All </Files> SetEnv PHPRC /home/cosmeti2/ #contentpack - not remove this comment RewriteRule ^(.*)blog/category/([0-9a-zA-Z-_]+)/?$ /modules/contentpack/blockblog-category.php?category_id=$2 [QSA,L] RewriteRule ^(.*)blog/post/([0-9a-zA-Z-_]+)/?$ /modules/contentpack/blockblog-post.php?post_id=$2 [QSA,L] RewriteRule ^(.*)blog/categories/?$ /modules/contentpack/blockblog-categories.php [QSA,L] RewriteRule ^(.*)blog/?$ /modules/contentpack/blockblog-all-posts.php [QSA,L] RewriteRule ^(.*)testimonials/?$ /modules/contentpack/blockshopreviews-form.php [QSA,L] RewriteRule ^(.*)faq/?$ /modules/contentpack/faq.php [QSA,L] RewriteRule ^(.*)guestbook/?$ /modules/contentpack/blockguestbook-form.php [QSA,L] RewriteRule ^(.*)news/?$ /modules/contentpack/items.php [QSA,L] RewriteRule ^(.*)news/([0-9a-zA-Z-_]+)/?$ /modules/contentpack/item.php?item_id=$2 [QSA,L] #contentpack # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> # Disable Multiviews Options -Multiviews RewriteEngine on RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^c/([a-zA-Z-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^.*$ - [NC,L] RewriteCond %{HTTP_HOST} ^cosmeticall.ro$ RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" </IfModule> FileETag INode MTime Size <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again I manage to solve this by looking at the old backup files from the time when there was no problem. Thank you anyway for trying to help.
  5. Hello webdev0008, You seem to know a lot about those javascript errors. I started a topic on a very strange error that sometimes appears and sometimes not. The error appears only on products with attributes. Here is the topi: http://www.prestashop.com/forums/topic/318175-add-to-cart-button-disappears-on-product-page-with-combinations-only-sometimes/?do=findComment&comment=1612226 Thank you.
  6. Hello dioniz, Yes i noticed that errors but you have any idea on how to solve them? And why sometimes the errors appear and sometimes not ? Thank you.
  7. Hello, You can't see the error because i am creating new products for each combination. Here is a link to a product that i will not modify: http://cosmeticall.ro/gene-false/255-lipici-gene-false.html All the quantities for the attributes are set to positive, i have even set the products to be order if quantity is 0 but the same issue happens. Thank you very much for your help.
  8. Hello, I have the most strange problem i have ever encountered and never heard of someone else to have the same isue. When i go on a product page that has attributes the "Add to cart" button disappears and the "This combination does not exist for this product. Please choose another." message is appearing. This is happening despite the fact that all the combinations have quantities set to 100. Very important : 1. this problem does not always appear! Sometimes the "Add to cart" button is showing up but sometimes it doesn't, this is absolutely random. (if it its not showing from the first time try to refresh or go on other pages and back again to see the bug) 2. It does not appear on all browsers. It is appearing most of the times in Safari. When the problem is appearing the console shows the following errors: ReferenceError: Can't find variable: writeBookmarkLink 18-acetona-parfumata-cu-burete.html:12ReferenceError: Can't find variable: $ 18-acetona-parfumata-cu-burete.html:18ReferenceError: Can't find variable: $ 18-acetona-parfumata-cu-burete.html:21ReferenceError: Can't find variable: $ 18-acetona-parfumata-cu-burete.html:23ReferenceError: Can't find variable: addCombination 18-acetona-parfumata-cu-burete.html:25ReferenceError: Can't find variable: FB 18-acetona-parfumata-cu-burete.html:32ReferenceError: Can't find variable: $ crossselling.js:44ReferenceError: Can't find variable: $ 18-acetona-parfumata-cu-burete.html:35ReferenceError: Can't find variable: $ all.js:56Invalid App Id: Must be a number or numeric string representing the application id. all.js:56FB.getLoginStatus() called before calling FB.init(). /page-not-foundFailed to load resource: the server responded with a status of 404 (Not Found) /page-not-foundFailed to load resource: the server responded with a status of 404 (Not Found) api.yotpo.com/users/social_signin:1SyntaxError: Unexpected token '<' When the problem is NOT appearing the console shows the following errors: ReferenceError: Can't find variable: FB all.js:56Invalid App Id: Must be a number or numeric string representing the application id. all.js:56FB.getLoginStatus() called before calling FB.init(). /page-not-foundFailed to load resource: the server responded with a status of 404 (Not Found) /page-not-foundFailed to load resource: the server responded with a status of 404 (Not Found) api.yotpo.com/users/social_signin:1SyntaxError: Unexpected token '<' Here is the link to one of those products: http://cosmeticall.ro/acetona/18-acetona-parfumata-cu-burete.html If anyone knows how to solve this issue or have encountered this problem please help.
  9. Hello, I was playing around with the category.tpl file when i noticed that the following paragraph by default from prestashop is set to display:none <p id="category_description_full" style="display:none">{$category->description}</p> In the category page when i inspect element and set the value from the display tag instead of "none" to "block" suddenly the category description is displaying two times. The most interesting part is that when i diagnosis the page with a SEO tool i get a Text/HTML ratio on the page of 21%. After i completely remove that line of code from the category.tpl file and despite the fact that nothing visual is changing i get a Text/HTML ratio on the page of 17%. Does anyone know what in Good its going on? Is this affecting the page SEO from the search engines point of view? Because if that line of code was recognized by the SEO tool (Seo Quick) the search engines will also recognized it and in that case wee are dealing with duplicated content that harms the site position in search engines. I'm using PS 1.5.1 Thanks.
  10. I have added the code that NOsaint posted in this topic in the header.tpl file. Here is the entire header.tpl file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}"> <head> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta http-equiv="content-language" content="{$meta_language}" /> <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" /> <link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" /> <script type="text/javascript"> var baseDir = '{$content_dir}'; var baseUri = '{$base_uri}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; </script> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} {/if} {if isset($js_files)} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri}"></script> {/foreach} {/if} <meta property="og:title" content="{$meta_title|escape:'htmlall':'UTF-8'}"/> <meta property="og:url" content="http://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"/> <meta property="og:site_name" content="{$shop_name|escape:'htmlall':'UTF-8'}"/> <meta property="og:type" content="website"> <meta property="og:description" content="{$meta_description|escape:html:'UTF-8'}"> {if $page_name=='product'} <meta property="og:image" content="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'default_large')}"> {else} <meta property="og:image" content="{$img_ps_dir}logo.jpg" /> {/if} {$HOOK_HEADER} </head> <body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{if $hide_left_column}hide-left-column{/if} {if $hide_right_column}hide-right-column{/if}"> {if !$content_only} {if isset($restricted_country_mode) && $restricted_country_mode} <div id="restricted-country"> <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p> </div> {/if} <div id="page" class="container_9 clearfix"> <!-- Header --> <div id="header" class="grid_9 alpha omega"> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> <div id="header_right" class="grid_6 omega"> {$HOOK_TOP} </div> </div> <div id="columns" class="grid_9 alpha omega clearfix"> <!-- Left --> <div id="left_column" class="column grid_2 alpha"> {$HOOK_LEFT_COLUMN} </div> <!-- Center --> <div id="center_column" class=" grid_5"> {/if} Please do tell me what I have done wrong. Thank you.
  11. <meta property="og:url" content="http://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"/> and <meta property="og:url" content="http://{$smarty.server.HTTP_HOST}"/>
  12. You mean instead of to use Thank you in advance.
×
×
  • Create New...