Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Adik

Members
  • Content Count

    65
  • Joined

  • Last visited

  • Days Won

    1

Adik last won the day on April 26

Adik had the most liked content!

Community Reputation

13 Good

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Adik

    Head code in specific page/directory

    Try this: {if $lang_iso == en && if $category->name == 'Category 1'} <script src="https://XXXXXXXXXXXXXXXXXXXd=37" type="text/javascript" charset="utf-8"></script> {elseif $lang_iso == de && if $category->name == 'Category 2'} <script src="https://XXXXXXXXXXXXXXXXXXXd=40" type="text/javascript" charset="utf-8"></script> {else $lang_iso == fr && if $category->name == 'Category 3'} <script src="https://XXXXXXXXXXXXXXXXXXXd=42" type="text/javascript" charset="utf-8"></script> {/if}
  2. Adik

    Head code in specific page/directory

    You can try edit header.tpl file and add: {if $lang_iso == en } script src="https://XXXXXXXXXXXXXXXXXXXd=37" type="text/javascript" charset="utf-8"></script> {elseif $lang_iso == de} script src="https://XXXXXXXXXXXXXXXXXXXd=40" type="text/javascript" charset="utf-8"></script> {/if}
  3. Adik

    Best import module

    Problem is with coding during import, instead of polish diacritics we have a bushes. You may need to save the encoding format in the first line of the *.csv file. I use Ron'sEditor and he has this option. The best csv editor I've used so far. https://www.ronsplace.eu/Products/RonsEditor
  4. Adik

    [Free Module]Revws - Product Reviews

    Ok, thanks for clarification! In the field where you gave localhost:8080 we put the address of the correct server url?
  5. Adik

    Best import module

    At the beginning of the import game, I bought this module: https://addons.prestashop.com/en/data-import-export/19091-product-catalog-csv-excel-import.html Works fine with ThirtyBees but it does not support national language characters
  6. Adik

    Best import module

    I recommend PrestaShopManager for import. Last week I imported from the old store over 1500 products from the prepared *.xls file (*.csv, *.txt are also supported). In addition over 800MB of product images. Import (VPS Windows 10 IoT->VPS Linux) lasted just over 15 minutes. Unfortunately, this program also has disadvantages, it doesn't support the bottom underline in the product and category urls (like "best_men_shoes_for_summer"). For me, when moving the old store to TB, it was very important for SEO. Of course you can import a csv file with a bottom underline into PhpMyAdmin and run an update SQL query .
  7. Adik

    [Free Module]Revws - Product Reviews

    Hello Petr, I wonder if it's possible to load the /modules/revws/views/js/front-2_0_4.js file from an external server like KeyCDN? Loading this file takes most time. Another js file served by KeyCDN:
  8. Adik

    Help me develop killer One Page Checkout module

    hello Petr, you have a new e-mail
  9. Adik

    Free Module: Loyalty Points [genzo_krona]

    pricealert.css #pricealert-button-launch_text { font-weight: 700; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; background-color: transparent; border-color: transparent; margin: auto; outline: 0; cursor: pointer; display: block; padding-top: 5px; } #pricealert-button-launch:before { content: "\f0a2"; font: 400 15px/31px "FontAwesome"; color: #fff; background: #929292; width: 30px; text-align: center; display: inline-block; height: 30px; margin: 0 6px 0 0; -moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px; } #pricealert-button-launch{ display:block; float: left; width: 40px; height: 40px; font-weight: 700; margin: auto; color: #9e9e9e; -webkit-animation: ring 4s .7s ease-in-out infinite; -webkit-transform-origin: 50% 4px; -moz-animation: ring 4s .7s ease-in-out infinite; -moz-transform-origin: 50% 4px; animation: ring 4s .7s ease-in-out infinite; transform-origin: 50% 4px; } @-webkit-keyframes ring { 0% { -webkit-transform: rotateZ(0); } 1% { -webkit-transform: rotateZ(30deg); } 3% { -webkit-transform: rotateZ(-28deg); } 5% { -webkit-transform: rotateZ(34deg); } 7% { -webkit-transform: rotateZ(-32deg); } 9% { -webkit-transform: rotateZ(30deg); } 11% { -webkit-transform: rotateZ(-28deg); } 13% { -webkit-transform: rotateZ(26deg); } 15% { -webkit-transform: rotateZ(-24deg); } 17% { -webkit-transform: rotateZ(22deg); } 19% { -webkit-transform: rotateZ(-20deg); } 21% { -webkit-transform: rotateZ(18deg); } 23% { -webkit-transform: rotateZ(-16deg); } 25% { -webkit-transform: rotateZ(14deg); } 27% { -webkit-transform: rotateZ(-12deg); } 29% { -webkit-transform: rotateZ(10deg); } 31% { -webkit-transform: rotateZ(-8deg); } 33% { -webkit-transform: rotateZ(6deg); } 35% { -webkit-transform: rotateZ(-4deg); } 37% { -webkit-transform: rotateZ(2deg); } 39% { -webkit-transform: rotateZ(-1deg); } 41% { -webkit-transform: rotateZ(1deg); } 43% { -webkit-transform: rotateZ(0); } 100% { -webkit-transform: rotateZ(0); } } @-moz-keyframes ring { 0% { -moz-transform: rotate(0); } 1% { -moz-transform: rotate(30deg); } 3% { -moz-transform: rotate(-28deg); } 5% { -moz-transform: rotate(34deg); } 7% { -moz-transform: rotate(-32deg); } 9% { -moz-transform: rotate(30deg); } 11% { -moz-transform: rotate(-28deg); } 13% { -moz-transform: rotate(26deg); } 15% { -moz-transform: rotate(-24deg); } 17% { -moz-transform: rotate(22deg); } 19% { -moz-transform: rotate(-20deg); } 21% { -moz-transform: rotate(18deg); } 23% { -moz-transform: rotate(-16deg); } 25% { -moz-transform: rotate(14deg); } 27% { -moz-transform: rotate(-12deg); } 29% { -moz-transform: rotate(10deg); } 31% { -moz-transform: rotate(-8deg); } 33% { -moz-transform: rotate(6deg); } 35% { -moz-transform: rotate(-4deg); } 37% { -moz-transform: rotate(2deg); } 39% { -moz-transform: rotate(-1deg); } 41% { -moz-transform: rotate(1deg); } 43% { -moz-transform: rotate(0); } 100% { -moz-transform: rotate(0); } } @keyframes ring { 0% { transform: rotate(0); } 1% { transform: rotate(30deg); } 3% { transform: rotate(-28deg); } 5% { transform: rotate(34deg); } 7% { transform: rotate(-32deg); } 9% { transform: rotate(30deg); } 11% { transform: rotate(-28deg); } 13% { transform: rotate(26deg); } 15% { transform: rotate(-24deg); } 17% { transform: rotate(22deg); } 19% { transform: rotate(-20deg); } 21% { transform: rotate(18deg); } 23% { transform: rotate(-16deg); } 25% { transform: rotate(14deg); } 27% { transform: rotate(-12deg); } 29% { transform: rotate(10deg); } 31% { transform: rotate(-8deg); } 33% { transform: rotate(6deg); } 35% { transform: rotate(-4deg); } 37% { transform: rotate(2deg); } 39% { transform: rotate(-1deg); } 41% { transform: rotate(1deg); } 43% { transform: rotate(0); } 100% { transform: rotate(0); } } pricealert.tpl <p class="buttons_bottom_block no-print"> <a href="#" id="pricealert-button-launch" onclick='window.PriceAlert(true); return false' rel="nofollow"</a> <a href="#" id="pricealert-button-launch_text" onclick='window.PriceAlert(true); return false' rel="nofollow" title="{l s='Alert me when price drops' mod='pricealert'}"> {l s='Alert me when price drops' mod='pricealert'} </a> <div id="pricealert-dialog"></div> </p> <script type="text/javascript"> var priceAlertData={$priceAlertData|json_encode nofilter}; var priceAlertUrl="{$priceAlertUrl}"; </script>
  10. Adik

    Free Module: Loyalty Points [genzo_krona]

    Below is my little modification of css and tpl files for great PriceAlert module. I'm changed static bell icon to ringing bell. 🙂
  11. Adik

    Login as customer

    Petr thanks for a new module! We can log in to the Customer's account at any time and place an order for it. Useful if the customer is on the way and wants to urgently order something. Do you plan another paid modules? Editing the placed order will be very useful (modify the form of payment and shipping type/cost, change the quantity of the product, add/delete products...).
  12. Adik

    Making Elasticsearch plugin working with v7.0

    Great, is it possible to use with v7.0.0? On the official website I can not find the installer for version 6.3.0.
  13. Adik

    WebP image format

    Thank you Petr, do not forget about expires of webp files: location ~* \.(eot|ttf|woff|eof|woff2|css|js|jsonp|jpg|jpeg|gif|png|ico|svg|webm|mp3|mp4|webp)$ { add_header Access-Control-Allow-Origin *; # ~ 10 Days expires 604800s; }
  14. I wonder how to improve the pagespeed results (mobile devices) on the default Thirtybees template. At the moment I am using a VPS server, hosting hetzner.de, localization Nuremberg (Germany): 4 vCPU's, 16GB RAM, 80GB NVMe SSD. Clean installation of TB 1.0.8 + sample products and categories. Speed results: 98 points for computers, only 68 points for mobile devices. Demo store on https://front.thirtybees.com/ gets 100 points for computers and 98 points for mobile dev. My configuration: Debian 9.8 nginx/1.15.12 PHP 7.2.17-1 Memory limit: 128M Max execution time: 30s Smarty enabled + Force compilation + Type of caching: file system CCC enabled (keycdn.com) Memory cache enabled (APC) Here is my nginx config: server { listen *:80; listen *:443 ssl http2; ssl_certificate_key /etc/nginx/ssl/mysite.com.key; ssl_certificate /etc/nginx/ssl/mysite.com.pem; ssl_protocols TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS; ssl_dhparam /etc/nginx/ssl/dhparam.pem; server_name mysite.com www.mysite.com; root /var/www/mysite/public_html; access_log /var/www/mysite/logs/access.log; error_log /var/www/mysite/logs/error.log; index index.html index.htm index.php; client_max_body_size 60M; fastcgi_buffers 8 16k; fastcgi_buffer_size 32k; fastcgi_connect_timeout 600; fastcgi_send_timeout 600; fastcgi_read_timeout 600; rewrite ^/api/?(.*)$ /webservice/dispatcher.php?url=$1 last; rewrite ^/([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$1$2$3.jpg last; rewrite ^/([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$1$2$3$4.jpg last; rewrite ^/([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$1$2$3$4$5.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg last; rewrite ^/c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ /img/c/$1$2$3.jpg last; rewrite ^/c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ /img/c/$1$2.jpg last; rewrite ^/images_ie/?([^/]+)\.(jpe?g|png|gif)$ /js/jquery/plugins/fancybox/images/$1.$2 last; rewrite ^/([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$1$2$3.webp break; rewrite ^/([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$1$2$3$4.webp break; rewrite ^/([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$1$2$3$4$5.webp break; rewrite ^/([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$1$2$3$4$5$6.webp break; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.webp break; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.webp break; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.webp break; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.webp break; rewrite ^/c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.webp$ /img/c/$1$2$3.webp break; rewrite ^/c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.webp$ /img/c/$1$2.webp break; try_files $uri $uri/ /index.php$is_args$args; add_header Strict-Transport-Security max-age=31536000; resolver 127.0.0.1; location ~* \.(eot|ttf|woff|eof|woff2|css|js|jsonp|jpg|jpeg|gif|png|ico|svg|webm|mp3|mp4|webp)$ { add_header Access-Control-Allow-Origin *; # ~ 10 Days expires 604800s; } location ~ \.tpl { deny all; } ######### ## PHP ## ######### location ~ [^/]\.php(/|$) { fastcgi_index index.php; include /etc/nginx/fastcgi_params; # depending on version, could be : include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; }
  15. Adik

    Help me develop killer One Page Checkout module

    Hello Petr, I will prepare a subdomain with test shop and send details to your e-mail.
×