Jump to content

mozack

Members
  • Posts

    303
  • Joined

  • Last visited

  • Days Won

    1

mozack last won the day on August 20 2011

mozack had the most liked content!

2 Followers

About mozack

  • Birthday 08/02/1984

Contact Methods

Profile Information

  • Location
    Aveiro, Portugal
  • Activity
    Developer

Recent Profile Visitors

7,059,712 profile views

mozack's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

22

Reputation

  1. Hi, I created a profile that can't see only 2 modules, but, all the other modules are still in the list without actions, but visible How can I completely hide the modules to profiles that can't view the module? This affects the PrestaShop 1.7.4.x Thanks for your help
  2. Hi, it was designed to work on prestashop up to 1.5.6 and layered up to 1.9 (i think). But essentially, to work just in prestashop 1.5+
  3. Hi, For a long time i'm trying to solve an issue with block layered and nGinx. Everything works as expected filtering products in categories but trying access urls from block layered without # (hash) directly in browser, i always get an 404 error. This happens cause i dont have nginx rewrite rules for block layered. I was checking that with disabling friendly urls in PrestaShop BO the direct urls for block layered becomes: ?selected_filters= Well i've tried everything but i cant get this to work. The problem is that i'm getting lots of 404 errors in webmaster tools Can someone give me a light with that? My PS version is: 1.5.6.2 and Block Layered version is 1.10.1. Thanks Mozack
  4. Thanks for your info... I forgot to disable access to these files... Solved now... Thanks
  5. Hi, Please check my post that change the code to your version... (the quote before). Don't forget to tell me if works Thanks Mozack
  6. Hi, So, i'm using exactely the same version as yours (PS 1562 and BL 1.10.1) and it works. I cannot check the url your are giving me, so i cannot try that. The only part that doesn't work is for color, i didn't change anything there cause i don't use color combination in my website. But, there was some changes in code since my first post (PS 1.5.4 and BL 1.8.x), so there is the new code changes: First you need to find the line (around 1846) inside case 'id_attribute_group': , in the second foreach and change with the code below Part 1: foreach ($sub_queries as $sub_query) { $query_filters_where .= ' AND p.id_product IN (SELECT pa.`id_product` FROM `'._DB_PREFIX_.'product_attribute_combination` pac LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa ON (pa.`id_product_attribute` = pac.`id_product_attribute`) INNER JOIN `'._DB_PREFIX_.'stock_available` sa ON (sa.`id_product_attribute` = pac.`id_product_attribute` AND sa.`quantity` > 0)'. Shop::addSqlAssociation('product_attribute', 'pa').' WHERE '.implode(' OR ', $sub_query).') '; } After, go to line (around 872) the function indexAttribute and change the whole function with the code: public function indexAttribute($id_product = null) { if (is_null($id_product)) Db::getInstance()->execute('TRUNCATE '._DB_PREFIX_.'layered_product_attribute'); else Db::getInstance()->execute(' DELETE FROM '._DB_PREFIX_.'layered_product_attribute WHERE id_product = '.(int)$id_product ); Db::getInstance()->execute(' INSERT INTO `'._DB_PREFIX_.'layered_product_attribute` (`id_attribute`, `id_product`, `id_attribute_group`, `id_shop`) SELECT pac.id_attribute, pa.id_product, ag.id_attribute_group, product_attribute_shop.`id_shop` FROM '._DB_PREFIX_.'product_attribute pa'. Shop::addSqlAssociation('product_attribute', 'pa').' INNER JOIN '._DB_PREFIX_.'product_attribute_combination pac ON pac.id_product_attribute = pa.id_product_attribute INNER JOIN '._DB_PREFIX_.'stock_available sa ON (sa.id_product_attribute = pac.id_product_attribute AND sa.quantity > 0) INNER JOIN '._DB_PREFIX_.'attribute a ON (a.id_attribute = pac.id_attribute) INNER JOIN '._DB_PREFIX_.'attribute_group ag ON ag.id_attribute_group = a.id_attribute_group '.(is_null($id_product) ? '' : 'AND pa.id_product = '.(int)$id_product).' GROUP BY a.id_attribute, pa.id_product , product_attribute_shop.`id_shop`' ); return 1; } Hope this solve the issue. Don't forget to re-index all attributes and make a backup of your block layered.php file. Please reply if your problem was solved... Thanks Mozack
  7. Hi Torbz, Thanks for your test. The color, and the sizes there was a module that i made focused in my website. Actually i didn't use the color attribute, but a php script that catch the color of image. The sizes is the function of PrestaShop, something like Product::getCombinations() or something like that, all the rest is a module. Thanks Mozack
  8. Hi, Finally. I'm not received any of your contacts. Not even in spam or junk mail. I'll try to change that issues. Thanks P.S.: I'm not able to use validator. It stay running and running but nothing... No result.
  9. Thanks for testing... At this time, i have only the cache problem... Trying to solve now. Thanks
  10. OK, Thanks. Is really big difference. Unfortunately the geolocation by IP have really big problems... Will be solved in the next update. And the rest of website? Performance, video, animations and colors, works as expected? Thanks
  11. Hi, Ok, actually that is not a problem since i dont set shipping by zip but country. A question, the both cities are in the same states? Or are different states? Thanks.
  12. Hi, PLEASE TEST MY WEBSITE: http://www.4perfectbody.com Here the thinks i want tested: - Category Page: http://www.4perfectbody.com/women - Size Chart Conversion: http://www.4perfectbody.com/content/size-chart?content_only=1 - Video and Menu in product page: http://www.4perfectbody.com/brazilian-bikinis/brazilian-bikini-porto-fino.html#!/video_frame And depending of your time, test everything, including add products to cart. Since my last submission here, i've made lots of changes, including: - Server - Way i check and save customer location - Product Page - Video Integration and Share (animation of video and share in product page) - Customer Shipping Cost Based On Location - Customer Payments Methods based on location - Product Auto Color Check (category) - Find By Color (category) - and much more Last time i submit i have lots of good reviews, but after all this time, i've removed some ajax code, have changed some small things that speed up my site, including the second image animation that is loaded before page render. Unfortunately, i'm still trying to put a better cache system, fully integrated with nGinx + php-fpm + fastCGI, at this time, it stop caching when user have cookies, so, after the first refresh it stops getting content from cache. I've my reports attached in image: Thanks for your time. Regards Mozack
  13. Hi, Since November, 2013 i'm trying to put a module selling in addons. I've never received one e-mail from you. The only once was telling that the module was validated and will be in addons website in the next few days. There was more than 2 months ago. In my modules i cant see my module in store, clicking on View On Store icon i'm redirected to category. Here the ID: 9358 I've sent lots of e-mails via contact form and nothing. I have no response from you. Thanks
  14. Hi Maarten Just tell me. Did you re-index all attributes? Another question, is both with 0 quantities 0mg and 30ml in all products? That's strange. In color propose, i didn't fix yet, but in size, etc this code should work as expected. Can you provide your store url to check javascript errors, etc? Thanks
×
×
  • Create New...