Jump to content

Search the Community

Showing results for tags 'Block'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Addons
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



  1. Is there any way possible to block an email address in the back office? Let's say you're getting nasty messages from a visitor who does not register, plus the email is a random address that cannot be tracked... Is there a way to just prevent this person from contacting again through the back office... exactly like blocking an email address in gmail.
  2. Hi, I want to add translation support for my field in configure area in module and services section. I am using prestashop version 1.6.x and I made change as per other modules and below documentation link. http://doc.prestashop.com/display/PS16/Making+your+module+work+with+Bootstrap I am able to see field and multiple languages translation drop down option as per attach image. But after saving field data not getting saved. It shows empty fields. Below is my code. PrestaShop Tutorials Videos [How to do Tasks] public function renderForm() { $fields_form = array( 'form' => array( 'legend' => array( 'title' => $this->l('Settings'), 'icon' => 'icon-cogs' ), 'input' => array( array( 'type' => 'text', 'label' => $this->l('Block Title'), 'name' => 'BLOCK_TITLE', 'lang' => true, 'required' => true ), array( 'type' => 'text', 'label' => $this->l('Slide show time interval.'), 'name' => 'TIME_INTERVAL', 'hint' => $this->l('Only integer values allowed:'), 'desc' => $this->l('The interval in milli seconds example 8000.Only integer values allowed.'), 'lang' => true, 'required' => true ) ), 'submit' => array( 'title' => $this->l('Save'), 'class' => 'btn btn-default pull-right' ) ), ); $helper = new HelperForm(); $helper->show_toolbar = false; $helper->table = $this->table; $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); $helper->default_form_language = $lang->id; $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; $helper->identifier = $this->identifier; $helper->submit_action = 'submitStoreConf'; $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; $helper->token = Tools::getAdminTokenLite('AdminModules'); $helper->tpl_vars = array( 'fields_value' => $this->getConfigFieldsValues(), 'languages' => $this->context->controller->getLanguages(), 'id_language' => $this->context->language->id ); return $helper->generateForm(array($fields_form)); } public function getConfigFieldsValues() { $languages = Language::getLanguages(false); $fields = array(); foreach ($languages as $lang) { $fields['BLOCK_TITLE'][$lang['id_lang']] = Tools::getValue('BLOCK_TITLE'.$lang['id_lang'], Configuration::get('BLOCK_TITLE', $lang['id_lang'])); $fields['TIME_INTERVAL'][$lang['id_lang']] = Tools::getValue('TIME_INTERVAL'.$lang['id_lang'], Configuration::get('TIME_INTERVAL', $lang['id_lang'])); } return $fields; } Any idea to solve this problem.
  3. Hola a todos. He estado buscando y no encuentro este tema. ¿Es posible que el apartado filtros aparezca en el apartado superior con un desplegable? existe algún modulo que haga esto? (he hecho un pequeño apaño con el paint) ¿Es esto posible? o tenemos que adentrarnos en el código y modificarlos nosotros? Muchas gracias
  4. Hi I have upgraded my store to 1.6 all is well except the blocklayered module it won't index (in the configuration area of the module) also when i try to use it on my website it just loads for ever but nothing happens tried to remove it and install it again no luck, been playing around with it for hours can't seem to find out how to resolve, please help .... thanks
  5. Block Bot/User by IP, Country or User Agent The spam traffic and bots are one of the biggest challenges for the eCommerce store owners. Block Bot/User by IP, country or User Agent module is the best solution to block the known spam bots. The store admin can block the spammers based on the IP, Country or User-agent this will help to reduce the unwanted traffic and spam. More info and purchase here: Block Bot/User by IP, Country or User Agent FRONT DEMO BACKOFFICE DEMO Key features of the Block Bot/User by IP, Country or User Agent Module: 1) Block spam bots by IP: By using this feature the store admin can block the IP which is generating the spam. 2) Block by Country: In case the store admin does not want to offer the services/products to selected countries, then, the admin can block these countries from accessing the store. It will help the admin to remove the unwanted traffic from the store. 3) Block by User-Agent: The admin can easily block the spam traffic based on the user-agent. 4) Display custom message: The admin can display a message on the website to the blocked users with the option for them to contact the admin. 5) Display options: The store admin can select the option to display the header and footer of the website to the blocked users. User Manual: https://addons.prestashop.com/en/website-security-access/29186-knowband-block-bot-user-by-ip-country-or-user-agent.html Screenshots:
  6. Ich plane den Einsatz eines HTML Block modul. Ziel ist es Bilder, Bewertungen o. ä. ohne großen Aufwand an verschiedenen Stellen der Seite einzubinden. Bis jetzt sind in der engeren Auswahl das Custom HTML Block module https://addons.prestashop.com/en/blocks-tabs-banners/13292-custom-html-block.html (geht leider noch nicht für oder das Static, Custom, HTML, Text, Multi blocks Modul https://addons.prestashop.com/de/blocks-reiter-banner/42100-static-custom-html-text-multi-blocks.html#overview . Hat die jemand im Einsatz und kann darüber berichten? Evtl. (bessere) Alternativen?
  7. Hi, Who knows, maybe a module that will put these blocks on the home page. Example
  8. Hi im new to Prestahop and hope to find some answers. On the product page I used the customization field to have a customer upload a photos and a comment. I want to move that custom block under the attribute fields instead of above as it is the default. In product.tpl {if $product.is_customizable && count($product.customizations.fields)} {block name='product_customization'} {include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations} {/block} {/if} <div class="product-actions"> {block name='product_buy'} <form action="{$urls.pages.cart}" method="post" id="add-to-cart-or-refresh"> <input type="hidden" name="token" value="{$static_token}"> <input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id"> <input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id"> {block name='product_variants'} {include file='catalog/_partials/product-variants.tpl'} {/block} and I moved {if $product.is_customizable && count($product.customizations.fields)} {block name='product_customization'} {include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations} {/block} {/if} to the bottom outside the form. Which gives me the correct layout on the page. But when selecting an attribute on the product page the URL does not update and refresh back to its previous default. I know its a form issue but not sure how to resolve it. Thanks.
  9. Buenas, estoy intentado cambiar el número de teléfono de este bloque de mi página web pero no lo consigo encontrar por ningún sitio. Al hacer clic en el botón desde el smartphone llama a un teléfono que queremos cambiar. La web es: https://maquinariaparalahosteleria.es/ Si me podéis echar una mano os lo agradecería, muchas gracias.
  10. Does anyone know how to do something like this below? Is there a module for this?
  11. Hi all, i want show some block only in specific pages - in some category or some cms page. It is possible or may i use some module?
  12. Hello, I'm using prestashop I already made lots of translations with my shop, but i finally had to add one language (australian). Problem is that i'd like to reorganize the flags order in the frontend (i'd like the australian language to be just below the english language), and there is no solution througout backend (except erasing all, and re-create in good order id., which would ruin all my previous translations works). Any simple idea ? Thanks
  13. Buenas Quisiera saber como puedo bloquear mediante .htaccess los bots y crawlers malignos que clonan y scrapean sitios web sin bloquar a los bots buenos de Google,Yahoo,etc...para que moi sitio pueda ser indexado correctamente pero no permita que los bots maliciosos lo recorran. He encontrado esta lista por internet,pero quisiera bloquear tambien los analiticos de SEO como Ahrefs,Semrush,BuiltWith,Ubbersuggest,etc... //Block bad bots RewriteEngine On RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR] RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:[email protected] [OR] RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR] RewriteCond %{HTTP_USER_AGENT} ^Custo [OR] RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR] RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR] RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR] RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR] RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR] RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR] RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR] RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR] RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR] RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR] RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR] RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR] RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR] RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR] RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR] RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR] RewriteCond %{HTTP_USER_AGENT} ^HMView [OR] RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR] RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR] RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR] RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [OR] RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR] RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [OR] RewriteCond %{HTTP_USER_AGENT} ^larbin [OR] RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR] RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR] RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR] RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [OR] RewriteCond %{HTTP_USER_AGENT} ^Navroad [OR] RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR] RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR] RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR] RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [OR] RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR] RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR] RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [OR] RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [OR] RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR] RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [OR] RewriteCond %{HTTP_USER_AGENT} ^pavuk [OR] RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR] RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR] RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR] RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR] RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR] RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR] RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR] RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR] RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR] RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR] RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR] RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [OR] RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR] RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR] RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR] RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR] RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [OR] RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [OR] RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR] RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR] RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [OR] RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [OR] RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR] RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR] RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR] RewriteCond %{HTTP_USER_AGENT} ^Wget [OR] RewriteCond %{HTTP_USER_AGENT} ^Widow [OR] RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [OR] RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR] RewriteCond %{HTTP_USER_AGENT} ^Zeus RewriteRule ^.* - [F,L] Alguien sabe como se puede realizar esto sin perjudicar el indexado por parte de los motores de busqueda? Saludos
  14. Hi guys, I have a problem with my product page: if I choose a combination of the product the reference code doesn't refresh. Now I think that the problem is with my block code in the template file. I found the method displayAjaxRefresh in ProductController.php where other blocks are "refreshed" with Ajax Die. I want to update my block too but it doesn't work. Where do I have to implement the "refreshing" logic? Thank you in advance. Info: Prestashop version: 1.7 // In my TPL file I have something like this {block name='my_block_name'} {include file="path/to/tpl-file.tpl" data=$some_data} {/block} // In ProductController.php I added $this->ajaxDie(Tools::jsonEncode(array( ... 'my_block_name' => $this->render( 'path/to/tpl-file.tpl', array( 'data' => 'Updated data', ) ), ... )); // I see the correct AJAX response in my network tab
  15. i have a site powered by prestashop i want to block non users (visitors and gift) from consulting CMS categories and pages also redirect them to authentification page .
  16. Hello, I have a store built with Prestashop, version In the main page, I have a block with "featured products", and another block with "new products". (The block of "best selling products" is disabled) I would like to add another block showing the products of a specific category. I can select a category in the block of featured products, but I already use it, I would like to add an additional block with the products of another category. Do you know if there is any module offering this functionality? Thank you, Victor
  17. Hello, I would like to move my cart block to the top right by the contact and sign in buttons. I have managed to get it in the top bar but failed to align it. I have tried deleting the div class in the BlockCart.tpl and looking at the CSS to float:right but I have had no luck. Can someone help please. Here is the website www.giftstogive.co.uk Thanks
  18. I use Prestashop and I have installed a module that allows you to manage attribute groups without creating combinations between them. The form is used from each product configuration page when necessary. For products that do not use this add-on module on the frontend page everything works as always. For products for which the add-on module was used, the relevant tab in the frontend is updated with the tpl files of the add-on module, one of which is the cart block. I think I have identified the two smarty assign arrays blocks with the variables but I have no idea how to merge them or how to pass them to a single tpl cart file that collects the variables coming from these two sources. This is the code of blockcart.php (in root/modules/blockcart folder): $this->smarty->assign(array( 'products' => $products, 'customizedDatas' => Product::getAllCustomizedDatas((int)($params['cart']->id)), 'CUSTOMIZE_FILE' => Product::CUSTOMIZE_FILE, 'CUSTOMIZE_TEXTFIELD' => Product::CUSTOMIZE_TEXTFIELD, 'discounts' => $cart_rules, 'nb_total_products' => (int)($nbTotalProducts), 'shipping_cost' => $shipping_cost, 'shipping_cost_float' => $shipping_cost_float, 'show_wrapping' => $wrappingCost > 0 ? true : false, 'show_tax' => (int)(Configuration::get('PS_TAX_DISPLAY') == 1 && (int)Configuration::get('PS_TAX')), 'wrapping_cost' => Tools::displayPrice($wrappingCost, $currency), 'product_total' => Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::BOTH_WITHOUT_SHIPPING), $currency), 'total' => Tools::displayPrice($totalToPay, $currency), 'order_process' => Configuration::get('PS_ORDER_PROCESS_TYPE') ? 'order-opc' : 'order', 'ajax_allowed' => (int)(Configuration::get('PS_BLOCK_CART_AJAX')) == 1 ? true : false, 'static_token' => Tools::getToken(false), 'free_shipping' => $total_free_shipping )); if (is_array($errors) && count($errors)) $this->smarty->assign('errors', $errors); if (isset($this->context->cookie->ajax_blockcart_display)) $this->smarty->assign('colapseExpandStatus', $this->context->cookie->ajax_blockcart_display); And this is the code in the add-on module: public function getPreviewHtml() { $tpl = $this->context->smarty->createTemplate($this->getTemplatePath('elements/cart_preview.tpl'), $this->context->smarty); $tpl->assign(array( 'base_product' => $this->configurator_product, 'product' => $this->configuratorCartDetail->product, 'cartDetail' => $this->configuratorCartDetail->getDetail(), 'priceDisplay' => Product::getTaxCalculationMethod((int)$this->context->cookie->id_customer), 'priceDisplayPrecision' => _PS_PRICE_DISPLAY_PRECISION_, 'display_tax_label' => (bool)$this->context->country->display_tax_label, 'tax_enabled' => Configuration::get('PS_TAX'), 'update_cart' => $this->updateCart, 'DISPLAY_PROGRESS' => (int)Configuration::get('CONFIGURATOR_PROGRESS_COMPENENT') )); return $tpl->fetch(); } And this is the code of cart_preview.tpl file of add-on module: {if !isset($priceDisplayPrecision)} {assign var='priceDisplayPrecision' value=2} {/if} {if !$priceDisplay || $priceDisplay == 2} {assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL, $priceDisplayPrecision)} {assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(false, $smarty.const.NULL, $priceDisplayPrecision)} {elseif $priceDisplay == 1} {assign var='productPrice' value=$product->getPrice(false, $smarty.const.NULL, $priceDisplayPrecision)} {assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL, $priceDisplayPrecision)} {/if} <div class="box"> <div class="page-subheading">{l s='Your configuration:' mod='configurator'}</div> {* PROGRESS BAR *} {if $DISPLAY_PROGRESS} <div id="configurator-progress"><strong></strong></div> <hr /> {/if} {* PREVIEW PRICES *} {if $priceDisplay >= 0 && $priceDisplay <= 2} {if $productPrice-$productPriceWithoutReduction neq 0} <dl class="dl-horizontal"> <dt> {l s='Base price' mod='configurator'} {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) || !isset($display_tax_label))} ({if $priceDisplay == 1}{l s='tax excl.' mod='configurator'}{else}{l s='tax incl.' mod='configurator'}{/if}) {/if} </dt> <dd id="old_price">{convertPrice price=$productPriceWithoutReduction}</dd> <dt class="advantage">{l s='After reducing your advantage' mod='configurator'}</dt> <dd class="advantage">{convertPrice price=($productPrice-$productPriceWithoutReduction)}</dd> </dl> <hr /> {/if} <dl id="dl-final-price" class="dl-horizontal"> <dt> {l s='Final price' mod='configurator'} {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) || !isset($display_tax_label))} ({if $priceDisplay == 1}{l s='tax excl.' mod='configurator'}{else}{l s='tax incl.' mod='configurator'}{/if}) {/if} </dt> <dd id="final_price">{convertPrice price=$productPrice}</dd> </dl> {/if} {* PREVIEW CONTENT *} <div class="list-group"> {foreach $cartDetail as $step} {assign var=display value=false} {foreach $step.options as $option} {if $option.selected || !empty($option.value)} {assign var=display value=true} {/if} {/foreach} {if $step.displayed_in_preview && $display} <a href="#step_{$step.id|escape:'htmlall':'UTF-8'}" class="list-group-item"> {*<strong>{$step.name|escape:'html':'UTF-8'} : </strong>*} {assign var=k value=0} {foreach $step.options as $option} {if !empty($option.value)} <span class="option_value">{$option.name|escape:'html':'UTF-8'} : {$option.value|escape:'html':'UTF-8'}{$step.input_suffix|escape:'htmlall':'UTF-8'}</span> {elseif $option.selected} <span class="option">{if $k > 0}, {/if}{$option.name|escape:'html':'UTF-8'}</span> {assign var=k value=$k+1} {/if} {/foreach} </a> {/if} {/foreach} </div> {* PREVIEW CONTENT *} <div class="buttons_container"> <form action=" {if $update_cart} {$link->getProductLink($product)|escape:'html':'UTF-8'} {else} {$link->getProductLink($base_product)|escape:'html':'UTF-8'} {/if} "> <input type="hidden" name="add" value="1" /> <div class="form-group"> <label for="quantity-configurator">{l s='Quantity :' mod='configurator'}</label> <input id="quantity-configurator" class="form-control" type="text" name="qty" value="1" /> </div> <button type="submit" id="add_configurator_to_cart" class="button btn btn-default"> {if $update_cart} <span>{l s='Update the cart' mod='configurator'}</span> {else} <span>{l s='Add to cart' mod='configurator'}</span> {/if} </button> </form> </div> </div> I attach a file that shows a simulation Thanks in advance for any help
  19. Witam serdecznie, Mam problem z ustawieniem wielkości w statick block w sklepie http://arabesque.pl tak aby zdjęcie było mniejsze i zachowane marginesy z lewej i prawej strony oraz responsywność Podaję kod: <div class="static_top"> <div class="container"> <div class="row home-container home-container-main"> <div class="home-container-text"> <h1>Internetowy sklep baletowy</h1> <h2>Odzież na balet prosto od producenta</h2> <p>Internetowy sklep baletowy Arabesque oferuje <strong>wysokiej jakości ubrania, których jest producentem</strong>. Bogaty wybór dostępnych rozmiarów a także modeli umożliwia zakup odzieży dla tancerek w każdym wieku - dla dzieci, młodzieży, a także dorosłych kobiet. Nasz <strong>sklep baletowy dla dzieci i dorosłych</strong> oferuje m.in.:</p> <a href="8-body-dla-dzieci" class="read_more">Body baletowe dla dzieci</a> <a href="66-rajstopy" class="read_more">Rajstopy baletowe</a> <a href="64-ocieplacze" class="read_more">Ocieplacze baletowe</a> <a href="68-spodniczki" class="read_more">Spódniczki baletowe</a> <a href="25-obuwie" class="read_more">Buty baletowe</a> <a href="24-akcesoria" class="read_more">Akcesoria baletowe</a> <p>Nasze produkty doskonale sprawdzą się podczas zajęć z baletu, rytmiki, tańca nowoczesnego, gimnastyki czy jogi. <strong>Zapewniamy szybką realizację zamówień i wysyłkę już w 24h!</strong></p> </div> </div> <div class="row home-container"> <div class="col-xs-12 col-sm-6 home-container-text home-container-left"> <h2>Odzież dziecięca</h2> <p><strong>Sklep baletowy Arabesque przygotował rozbudowaną ofertę produktów</strong> dla <a href="69-kolekcja-dziecieca">małych baletnic</a>. To wysokiej jakości odzież baletowa w rozmiarach 98 - 128, a także <a href="46-do-wlosow">akcesoria do włosów</a>, <a href="52-gumki">gumy do ćwiczeń</a> i <a href="49-gadzety">gadżety</a> związane ze światem baletu. Ubrania dla najmłodszych dostępne w naszej ofercie są bezpieczne dla delikatnej skóry Twojego dziecka, nie podrażniają jej. W trosce o jego dobro stawiamy na najwyższą jakość wykorzystywanych materiałów, łącząc dbałość o detale wykonania z wizualną stroną produktów - chcemy by <strong>odzież baletowa dla dzieci była funkcjonalna, bezpieczna i cieszyła oko każdej małej baleriny</strong>.</p> <a href="69-kolekcja-dziecieca" class="read_more">Zobacz Produkty</a></div> <div class="col-xs-12 col-sm-6 home-container-right"> <div class="img-roll_over home-container-img"><a href="69-kolekcja-dziecieca"> <img src="https://arabesque.pl/img/cms/SLIDER_mały_dzieci_2_katalog.png" alt="" class="img-responsive home-container-img" /> <img src="https://arabesque.pl/img/cms/SLIDER_mały_dzieci_2_katalog.png" class="img-responsive home-container-img on_hover" /> </a></div> </div> </div> <div class="row home-container"> <div class="col-xs-12 col-sm-6 col-sm-push-6 col home-container-text home-container-right"> <h2>Odzież młodzieżowa</h2> <p>Wśród propozycji <a href="70-kolekcja-mlodziezowa">dla młodzieży</a> znajdziesz nie tylko funkcjonalne, ale i wyróżniające się designem <strong>baletowe stroje taneczne w rozmiarach 134 - 152</strong>. Wykonane z najwyższej jakości materiałów ubrania <strong>doskonale sprawdzą się podczas treningu baletu, tańca nowoczesnego, zajęć gimnastycznych czy jogi</strong>. Białe, czarne czy różowe - które wybierze dla siebie Twoja nastoletnia baletnica?</p> <a href="70-kolekcja-mlodziezowa" class="read_more">Zobacz Produkty</a></div> <div class="col-xs-12 col-sm-6 col-sm-pull-6 home-container-left"> <div class="img-roll_over home-container-img"><a href="70-kolekcja-mlodziezowa"> <img src="https://arabesque.pl/img/cms/SLIDER_mały_młodzież_2_katalog.png" alt="" class="img-responsive home-container-img" /> <img src="https://arabesque.pl/img/cms/SLIDER_mały_młodzież_2_katalog.png" alt="" class="img-responsive home-container-img on_hover" /> </a></div> </div> </div> <div class="row home-container"> <div class="col-xs-12 col-sm-6 home-container-text home-container-left"> <h2>Odzież damska dla dorosłych tancerek</h2> <p>Nasz <strong>sklep z odzieżą baletową przygotował również szeroką ofertę odzieży i akcesoriów</strong> skierowaną do <a href="71-kolekcja-damska">dorosłych tancerek</a>. Wysoka jakość materiałów użytych w produkcji ubrań sprawia, że są one wyjątkowo wygodne i doskonale sprawdzą się podczas treningu baletowego, tanecznego czy gimnastycznego. Sprawdź, co oferuje nasz sklep baletowy online i złóż zamówienie już dziś!</p> <a href="71-kolekcja-damska" class="read_more">Zobacz Produkty</a></div> <div class="col-xs-12 col-sm-6 home-container-right"> <div class="img-roll_over home-container-img"><a href="71-kolekcja-damska"> <img src="https://arabesque.pl/img/cms/SLIDER_mały_damskie_2_katalog.png" alt="" class="img-responsive home-container-img" /> <img src="https://arabesque.pl/img/cms/SLIDER_mały_damskie_2_katalog.png" alt="" class="img-responsive home-container-img on_hover" /> </a></div> </div> </div> </div> </div>
  20. Bonsoir, J'ai voulu personnaliser des informations sur le block CMS info client et depuis plus moyen de mettre à jour les informations. Même si je modifie du texte ou des images tout en enregistrant ensuite, et bien rien ne se passe. J'ai vidé le cache, et d'autres manipulation mais rien ne fait. Pouvez-vous me dire pourquoi le module ci agit comme ça svp ?
  21. Bonjour, Le block information client permet de rédiger du contenu pour les visiteurs visible à l'accueil du site. Cependant, je souhaiterai modifier la largeur de celui-ci qu'il puisse prendre toute la largeur du site et non pas la moitié comme sur la capture d'écran. Pourriez-vous m'orienter svp ? Comment faire pour que le contenu rédigé dans le block CMS information client puisse être visible sur toute la largeur du site ? Merci d'avance.
  22. Hello prestashop forums. Im new in prestashop and i have a problem that i cannot fix. The main problem is with the top banner of the page isn't full size. In the picture u can see what im talking about. I have read all the the topic https://www.prestashop.com/forums/topic/330123-solved-block-banner-with-full-width/ but this didn't work for me. As u can see in the picture the right side of the banner show's black color. I have added this code in the global.css and now the baner moved to the left side but the right side is still black. Any suggestions? .banner .container, header .banner a {max-width:100%!important; width:100%!important;}
  23. Hi devs, I recently created a store in prestashop using Warehouse template and I realized that need an option that I can't find through modules. I need to create on the homepage a drop-down list in where our professional and wholesale customers (after they logged in) can select and change their rate if they are selling from our page to an 'end customer', so they can view their really prices and buy directly or change their rate to PVP and sell from the website. Tried to program a small script by coupling it to one of the Prestashop native modules and I think I'm missing something to make it work. I used the module 'blockuserinfo' and put this source within: public function hookDisplayNav($params) { if($this->context->customer->isLogged){ $name_group = array( '2' => 'PvP', '3' => 'Profesional', '4' => 'Wholesaler' ); $groupBox = Customer::getGroupsStatic((int)$this->context->customer->id); $id_default_group = Customer::getDefaultGroupId((int)$this->context->customer->id); $os = $groupBox; $showres = false; if (in_array(3, $os)) { $showres = true; } if (in_array(4, $os)) { $showres = true; } $this->smarty->assign(array( 'groupBox' => $groupBox, 'default_group'=> $id_default_group, 'name_group' => $name_group, 'showres' => $showres )); } return $this->display(__FILE__, 'nav.tpl'); } Hope you can help me to make this script work or recommend me another way to do this. Thanks a lot!!
  24. Hi everybody, I have an issue with my block cart module... Yesterday it has just gone missing and I havent done anything within ftp admin that day. The block cart module is still installed, enabled and showing in the modules section of the administrator. I have tried re-setting the module and turning on/off products/catalog but the block cart is still not showing... Can somebody please help me with this issue? I am using Prestashop version This is the website: http://videonadzor.eu/
  25. Hello How can I block guest with some ID? This guest fulls my cart a lot (maybe is robot or etc.) In database, in table id_cart, there is id_guest, but in table id_guest (where are IP addresses also), there isn´t guest with this ID. I don´t know IP address of this id_guest and I can´t block its. It is possible to block id_guest without IP address? Thanks a lot for help. Sorry for my English. Peter
  • Create New...