Jump to content

Search the Community

Showing results for tags 'Multiple'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Marketplace
  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


  1. [MODULE] Product Bundle Pack|Add multiple products into the cart Module Overview Advanced product package display, add multiple products to the cart at one time, customers can choose products, product attributes and quantities, etc., and can also combine PrestaShop's built-in discount features for discounts and increase orders. Description The built-in product packages in PrestaShop may not be what you want. We provide another advanced product package feature: The administrator still operates the product package in the place where the product package was previously set: add, modify, and delete products. Turn on our module switch. Customers can freely operate the products under the product package at the front desk: delete unwanted products, change product quantity, and change product attribute combinations. The administrator only needs to set up the product package. As for which products the customer wants to choose, which attribute combinations and quantities of the products to purchase, the choice is left to the customer himself, who can add these products to the shopping cart with one click. If the administrator sets up a product package discount promotion in the backend, customers can also see the product package discount promotion information in the frontend. Such a module can better improve the administrator's work efficiency, better realize the inner expectations of customers, and better improve the order transaction conversion rate. Benefits Promote your products Features Support customers to modify the products under the product package when purchasing the product package: delete products, modify product quantity, and change product attribute combinations. Support customers to add multiple products to the shopping cart with one click. Support switch precisely controls whether each product enables this module. Support switch precisely controls whether customers can change product packages on the product page. Support switch precisely controls whether the product page automatically calculates product package prices. Supports PrestaShop's built-in discounts to promote product packages. Support multiple stores Support multiple languages Long-term technical after-sales What your customers will like Support customers to modify the products under the product package when purchasing the product package: delete products, modify product quantity, and change product attribute combinations. Support customers to add multiple products to the shopping cart with one click. Recommendation The principle of the module: Create a packaging product and mount a batch of sub-products below. The price displayed on the FO is the sum of the prices of the sub-products. When the customer clicks Add to Shopping Cart for this packaged product, a batch of sub-products mounted below are all added to the shopping cart. The stock of the packaging product itself will no longer take effect. As mentioned above, the stock come from the sub-products. Other Please visit developer's modules page for other amazing modules: https://addons.prestashop.com/en/2_community-developer?contributor=1197421 Please leave your feedback and rating after using the module. It helps us to make better modules and provide better service to you and others:https://addons.prestashop.com/en/ratings.php Have any ideas how we can improve this module? Just contact us, and we will implement new features in the upcoming releases:https://addons.prestashop.com/contact-form.php?id_product=50485 Software quality is officially certified by PrestaShop FREQUENTLY ASKED QUESTIONS Q: What to do when the stock is 0? A: Controlled by switch: CONFIGURE--->Shop Parameters--->Product Settings, Products stock ---> "Allow ordering of out-of-stock products":Yes/No. Installation There are no special precautions for the installation method, just install it like a normal module. What's New 2023-11-17 1.10.8 fix compatibility bug PrestaShop 1.7.0.0 - 8.1.3 2023-09-28 1.10.7 fix compatibility bug PrestaShop 1.7.0.0 - 8.1.3 2023-08-05 1.10.6 fix compatibility bug PrestaShop 1.7.0.0 - 8.1.3 2023-05-11 1.10.5 fix compatibility bug PrestaShop 1.7.0.0 - 8.0.5 2023-03-19 1.10.4 fix compatibility bug PrestaShop 1.7.0.0 - 8.0.4 2023-02-26 1.10.3 fix compatibility bug PrestaShop 1.7.0.0 - 8.0.1 2022-06-13 1.10.2 Fix: wrong version number setting PrestaShop 1.7.0.0 - 1.7.8.9 2022-06-04 1.1.2 fix compatibility bug PrestaShop 1.7.0.0 - 1.7.8.6 2022-06-02 1.1.1 Fix some style compatibility Support dynamic calculation of prices PrestaShop 1.7.0.0 - 1.7.8.6 2022-05-03 1.10.0 Unavailable attributes are not displayed when the attribute is out of stock. The price is calculated dynamically when the customer changes the purchase quantity or attributes. When product settings are unavailable, the product no longer appears. PrestaShop 1.7.0.0 - 1.7.8.6 2022-03-21 1.0.9 New feature: When the mouse is over a product attribute, zoom in on the attribute image. PrestaShop 1.7.0.0 - 1.7.8.6 2022-02-23 1.0.8 New feature: Click on the bundled product image to display a larger image of the product. PrestaShop 1.7.0.0 - 1.7.8.3 2022-02-09 1.0.7 Compatible with third-party modules "Product Fields manager" Compatible configuration "Allow ordering of out-of-stock products" PrestaShop 1.7.0.0 - 1.7.8.5 2022-01-16 1.0.6 New feature: When the pack product is displayed, check whether the stock of each product is valid. PrestaShop 1.7.0.0 - 1.7.8.3 2021-12-12 1.0.5 New feature: Check product stock when purchasing. PrestaShop 1.7.0.0 - 1.7.8.3 2021-06-26 1.0.4 Improvement:New module configuration switch: whether to allow customers to customize packaging products. Improvement:Support the front desk to display the discounted prices of packaged products. PrestaShop 1.7.0.0 - 1.7.8.2 2021-06-19 1.0.3 Support to modify the number of packaged products purchased or delete products. PrestaShop 1.7.0.0 - 1.7.7.6 2021-05-26 1.0.2 Fix: "1" is displayed at the bottom of the product PrestaShop 1.7.0.0 - 1.7.7.5 2021-04-01 1.0.1 Fix the template caching. The background provides whether to hide the package product price switch The packaged product displays the corresponding quantity and supports adding to the shopping cart by quantity The packaged product displays the price of the corresponding attribute PrestaShop 1.7.0.0 - 1.7.7.4 2020-12-01 1.0.0 Upload the module for the first time. PrestaShop 1.6.0.5 - 1.7.7.4 [MODULE] Product Bundle Pack|Add multiple products into the cart Module
  2. Hello PS community, I'm looking for a module(s) that must have these 2 functionalities... 1. Uses vouchers as payment method. So i'm working for a company that generated, for example, 100 vouchers of 20€, 1 use only and no other exceptions, so the problem is.. if I use them as the "traditional way" (normal discount codes) this codes could generate orders of 0.00€ resulting in picking and billing problems after integrating with the system. My idea is to create a payment method where the client rendeem the voucher and use it as a credit card or paypal. 2. Permit multiple payment methods. If I find a solution to the first problem I must have a module that permits multiple payment options for the remaining amount. Hope i've been clear. Thank you for your attention. Regards,
  3. Bonjour. Nous avons un soucis car nous utilisons différents transporteur suivant les produits. Si un client met dans son panier des produits qui n'ont pas le même transporteur, c'est la cata. En faite, tout dépend comment les produits sont positionné dans le panier. C'est le transporteur du dernier produit qui sera affiché. Existe t'il une manipulation ou un module pour utiliser différents transporteur ? Merci à vous Kamduras
  4. I'm seeing multiple products with the same ID in the backend after upgradeing from 1.6.22 to 1.7.51. In 1.6 i added this fix (solution from here) to AdminProductsController.php by replacing this: $this->_use_found_rows = false; $this->_group = ''; with this: $this->_use_found_rows = true; $this->_group = 'GROUP BY '.$alias.'.id_product'; In 1.7 these two lines no longer exists, so I wonder if theres another way to fix the duplicate issue?
  5. Hooks are one of the main lifelines of PrestaShop. Developer, freelancers or even for end users everyone need to register, unregister hooks to modules while PrestaShop customization. They need to check if the most necessary hooks for the module is registered or not. Then comes the hard part. You need to select one module, find the hooks manually and then register it one by one. Sometimes the hooks are not shown on the list. 😵 Generate Hooks for PrestaShop makes it easier to manage hooks for modules. 😇😇 1.) Save your valuable time by registering hooks to modules in a bulk. You can register/unregister all the hooks to your module with just one click Like the picture BELOW 2.) You wont be able to find some hooks on the list. Dont worry, you dont need FTP or change the code. Or install the module again. The solution is here. 3.) Sometimes necessary hooks for your module or themes get unregistered. You can check it with just once click. If your module is Predefined then you dont even have to type the names. One click to check them. ANother to register them all at once. The full documentation is here https://classydevs.com/docs/generate-hooks/ If you work with PrestaShop you need to register/unregister hooks now and then. And Generate Hooks will make it easier and save a lot of time of your. Grab The module here at codecanyon
  6. Hi, we'd like to sell a multiple of product like a combination, we create an attribute call "Quantity" and put values like: Single (1 piece) 2 pieces 4 pieces etc... In this way we can sell multiples as combinations, but PrestaShop cannot know that the 6 peaces value of the Quantity attribute has 6 units inside. Therefore it will not be possible to manage the table "starting from ..." as shown in the screenshot, the table is only shown on single because it is the only parameter that can give PrestaShop the correct quantity with the discount. If I switch to a combination, the table is hidden, which is correct because it is not associated with multiple combinations. How do you manage the multiple? Have you ever sold multiple products on the same product page? Thanks for any reply. Balla
  7. Bonjour, Après quelques jours d'essai avec Prestashop (1.7.7.2), je suis assez surpris de ne pas trouver un paramètre qui me semble pourtant important. Comment faire pour demander à Prestashop de multiplier les coûts de livraison en fonction de la quantité de produits achetés ? Exemple, livraison = 10€, produit = 100€ Achat de 1 produit : 110€ Achat de 2 produit : 220€ Les produits de ma future boutique étant très hétérogènes, envisager de palier à cette fonctionnalité par l'utilisation de règles sur le prix total ou le poids serait complètement illusoire.
  8. Hello! I have a problem with my prestashop 1.7.7.0. I have multiple warehouses and shipping option for all warehouses. The problem is that on checkout it only shows the second one, not both shipping methods. That is a problem, because the shipping price is not same on the warehouses and also, because they come from different places, the shipping time is different. Shipping price is correct in the checkout, but it only shows the last shipping option there. It should show every shipping method, because the packages are delivered from different places with different shipping times. Any way to solve this without a million dollar module?
  9. Hello, I sell a products which are grouped into one package. Now those products in the package have different VAT rates. Some are 5% some 15% and some are 21% When customer buys a product its impossible to apply to break that price down and display it on the invoice...... Is there any module, that would allow me to set this in every product so it appears on the invoice and I don't have to do the invoices manually? Thanks
  10. Buongiorno a tutti, ho un problema legato all'override multiplo. Ho installato un modulo che effettua un override del metodo init del controller ProductController e del metodo priceCalculation classe Product. Ora però ho la necessità di installare un altro modulo, qual è però il problema? Che anch'esso fa un override del metodo init del ProductController e del metodo proceCalculation della classe Product. Quindi in questo momento non riesco ad installare il secondo modulo, perché nel momento in cui cerca di effettuare l'ovverride il CMS si accorge che i metodi sono già stati sovrascritti e quindi non me lo fa fare. Per caso c'è uno workaround per il problema sopra descritto? Grazie mille in anticipo. ---- Cristian
  11. Bonjour, Après avoir parcouru un nombre important de fil de discussion sur différent forum, je ne trouve pas solution à ma demande. D'avance, désolé si la discussion existe déjà... Prestashop 1.5.x Je mets en place un site de commande B2B pour lequel je souhaiterai pouvoir gérer les quantités de bases de commande pour chaque article. Si dans PS 1.5 on peut définir la quantité minimum, je souhaiterai surtout pouvoir ne proposer que la possibilité de commander par multiple de cette quantité minimum. Un exemple plus parlant : le produit "trucmuche" est vendu par 2,4,6,8..etc le produit "machinbidule" est vendu par 12,24,48...etc. L'idéal serait d'avoir un menu dropdown proposant les multiples et surtout qu'apparaisse le prix à l'unité (cette fonction de "drop" est possible sur d'autres logiciels comme virtuemart). La solution de création de déclinaisons (proposé par certains) est une solution que je ne souhaite pas étant donné qu'il faudrait les créer pour chaque produit (très fastidieux). Je suis peut être passé à côté du module qui permet cela, alors n'hésitez pas, et d'avance merci pour vos réponses... Fred
  12. Hi, Do you know plugins that would make all these options possible? We need to run a store that 28 locations: 1. Has several warehouses. Each country has its own warehouse, and its own stock level. 2. Customers from a given country can buy products only from a warehouse in that country. They can not access orders in other countries. 3. Each country has its list of orders. So the seller of country X does not see orders from country Y 4. Each country will have its language version. 5. Prices, taxes, displayed currencies can be different in each country Thank you for your help
  13. Hi all. i need to add a new database connetion to my project, for exemple on product detail page, i need to get my product from "prestashop_DB" and the description from "the_external_DB" (i reash to make a new connection by a new function in "classes/db/Db.php" called "getInstance2" with my parameters, it's like "getInstance", but i don't like it because i must call a new instance before every communication with DB) who can help me or give me ideas!
  14. Same topic in English Bon, je sais que le forum n'encourage pas les modifs du coeur de PrestaShop mais je crois que cette fonctionnalité manque vraiment à beaucoup de monde. Voici donc les modifications que j'ai effectué sur PS 1.4.8.2 pour pouvoir utiliser des caractéristiques à multiples valeurs : Pour PS v1.5.x voir ce post : http://www.prestasho...post__p__967310 Maintenant il existe également un module pour PS1.5.x http://www.prestasho...s-par-produits/ Merci à Flo_180 Tout d'abord il faut modifier la structure de la table ps_feature_product pour autoriser l’insertion de plusieurs lignes avec les mêmes id_feature et id_product. (je suppose ici que le préfixe de vos tables est "ps", sinon il suffit de remplacer ps par votre préfixe) - Accédez à votre base de donnée via phpmyadmin, et affichez la structure de la table ps_feature_product - Dans la zone Index, supprimez la caractéristique PRIMERY des champs id_feature et id_product. - Si la zone index n'apparait pas, cliquez sur l'onglet SQL et exécutez la commande : ALTER TABLE ps_feature_product DROP PRIMARY KEY Maintenant votre base de données est prête à recevoir plusieurs valeurs pour une même caractéristique. Ensuite il faut modifier le fichier AdminProducts.php qui se trouve dans le sous dossier tabs de votre répertoire admin. Éditez le fichier AdminProducts.php pour faire les modifications suivantes : Dans la fonction postProcess, ligne 668 (pour PS 1.4.8.2, peut-être une autre ligne pour une autre version...) Remplacez : if ($val) $product->addFeaturesToDB($match[1], $val); Par : if ($val && $val[0] != 0) foreach ($val AS $feature_val) $product->addFeaturesToDB($match[1], $feature_val); La variable $val sera devenu un tableau contenant les différentes valeurs de la caractéristique. On va donc ajouter une ligne pour chacune de ces valeurs dans la table ps_feature_product. Dans la fonction displayFormFeatures (ligne 3578 - PS 1.4.8.2) Remplacez : foreach ($feature AS $tab_features) { $current_item = false; $custom = true; foreach ($obj->getFeatures() as $tab_products) if ($tab_products['id_feature'] == $tab_features['id_feature']) $current_item = $tab_products['id_feature_value']; $featureValues = FeatureValue::getFeatureValuesWithLang((int)$cookie->id_lang, (int)$tab_features['id_feature']); echo ' <tr> <td>'.$tab_features['name'].'</td> <td style="width: 30%">'; if (sizeof($featureValues)) { echo ' <select id="feature_'.$tab_features['id_feature'].'_value" name="feature_'.$tab_features['id_feature'].'_value" onchange="$(\'.custom_'.$tab_features['id_feature'].'_\').val(\'\');"> <option value="0">--- </option>'; foreach ($featureValues AS $value) { if ($current_item == $value['id_feature_value']) $custom = false; echo '<option value="'.$value['id_feature_value'].'"'.(($current_item == $value['id_feature_value']) ? ' selected="selected"' : '').'>'.substr($value['value'], 0, 40).(Tools::strlen($value['value']) > 40 ? '...' : '').' </option>'; } echo '</select>'; } else echo '<input type="hidden" name="feature_'.$tab_features['id_feature'].'_value" value="0" /><span style="font-size: 10px; color: #666;">'.$this->l('N/A').' - <a href="index.php?tab=AdminFeatures&addfeature_value&id_feature='.(int)$tab_features['id_feature'].'&token='.Tools::getAdminToken('AdminFeatures'.(int)(Tab::getIdFromClassName('AdminFeatures')).(int)($cookie->id_employee)).'" style="color: #666; text-decoration: underline;">'.$this->l('Add pre-defined values first').'</a></span>'; echo ' </td> <td style="width:40%" class="translatable">'; $tab_customs = ($custom ? FeatureValue::getFeatureValueLang($current_item) : array()); foreach ($this->_languages as $language) echo ' <div class="lang_'.$language['id_lang'].'" style="display: '.($language['id_lang'] == $this->_defaultFormLanguage ? 'block' : 'none').'; float: left;"> <textarea class="custom_'.$tab_features['id_feature'].'_" name="custom_'.$tab_features['id_feature'].'_'.$language['id_lang'].'" cols="40" rows="1" onkeyup="if (isArrowKey(event)) return ;$(\'#feature_'.$tab_features['id_feature'].'_value\').val(0);" >'.htmlentities(Tools::getValue('custom_'.$tab_features['id_feature'].'_'.$language['id_lang'], FeatureValue::selectLang($tab_customs, $language['id_lang'])), ENT_COMPAT, 'UTF-8').'</textarea> </div>'; echo ' </td> </tr>'; } Par : foreach ($feature AS $tab_features) { $current_item = false; $custom = true; foreach ($obj->getFeatures() as $tab_products) if ($tab_products['id_feature'] == $tab_features['id_feature']) $current_item[] = $tab_products['id_feature_value']; $featureValues = FeatureValue::getFeatureValuesWithLang((int)$cookie->id_lang, (int)$tab_features['id_feature']); echo ' <tr> <td>'.$tab_features['name'].'</td> <td style="width: 30%">'; if (sizeof($featureValues)) { echo '<div style="width:200px;max-height:200px;margin:4px 0px;padding:2px;border:1px solid #e0d0b1;overflow: auto;text-align:left;">'; if (!$current_item) $current_item[0] = null; foreach ($featureValues AS $value) if (in_array($value['id_feature_value'], $current_item)) $custom = false; echo '<input type="checkbox" style="display:none;" name="feature_'.$tab_features['id_feature'].'_value[]" id="feature_'.$tab_features['id_feature'].'_value" value="" '.($custom ? 'checked="checked"' : '').'/>'; foreach ($featureValues AS $value) { echo '<label style="padding:2px;text-align:left;cursor:pointer;width:98%;'.((in_array($value['id_feature_value'], $current_item)) ? 'background-color:#acd8fe;' : '').'"> <input type="checkbox" name="feature_'.$tab_features['id_feature'].'_value[]" class="feature_'.$tab_features['id_feature'].'_value" value="'.$value['id_feature_value'].'"'.((in_array($value['id_feature_value'], $current_item)) ? ' checked="checked"' : '') .'onchange="$(\'.custom_'.$tab_features['id_feature'].'_\').val(\'\'); $(\'#feature_'.$tab_features['id_feature'].'_value\').attr(\'checked\', false); if ($(this).attr(\'checked\')) $(this).closest(\'label\').css(\'background-color\', \'#acd8fe\'); else $(this).closest(\'label\').css(\'background-color\', \'#ffffff\');"> ' .substr($value['value'], 0, 40).(Tools::strlen($value['value']) > 40 ? '...' : '').' </label><br />'; } echo '</div>'; } else echo '<input type="hidden" name="feature_'.$tab_features['id_feature'].'_value" value="0" /><span style="font-size: 10px; color: #666;">'.$this->l('N/A').' - <a href="index.php?tab=AdminFeatures&addfeature_value&id_feature='.(int)$tab_features['id_feature'].'&token='.Tools::getAdminToken('AdminFeatures'.(int)(Tab::getIdFromClassName('AdminFeatures')).(int)($cookie->id_employee)).'" style="color: #666; text-decoration: underline;">'.$this->l('Add pre-defined values first').'</a></span>'; echo ' </td> <td style="width:40%" class="translatable">'; $tab_customs = ($custom ? FeatureValue::getFeatureValueLang($current_item[0]) : array()); foreach ($this->_languages as $language) echo ' <div class="lang_'.$language['id_lang'].'" style="display: '.($language['id_lang'] == $this->_defaultFormLanguage ? 'block' : 'none').'; float: left;"> <textarea class="custom_'.$tab_features['id_feature'].'_" name="custom_'.$tab_features['id_feature'].'_'.$language['id_lang'].'" cols="40" rows="1" onkeyup="if (isArrowKey(event)) return; $(\'#feature_'.$tab_features['id_feature'].'_value\').attr(\'checked\', true); $(\'.feature_'.$tab_features['id_feature'].'_value\').attr(\'checked\', false); $(\'.feature_'.$tab_features['id_feature'].'_value\').closest(\'label\').css(\'background-color\', \'#ffffff\');" >' .htmlentities(Tools::getValue('custom_'.$tab_features['id_feature'].'_'.$language['id_lang'], FeatureValue::selectLang($tab_customs, $language['id_lang'])), ENT_COMPAT, 'UTF-8').'</textarea> </div>'; echo ' </td> </tr>'; } La variable $current_item est transformée en tableau et récupère les différentes valeurs enregistrées de la caractéristique. La zone de sélection est remplacée par une liste avec des cases à cocher dont les valeurs seront récupérées par la fonction postProcess modifiée précédemment. Maintenant vous pouvez sélectionner plusieurs valeurs pour vos caractéristiques en cliquant sur les valeurs désirées. Pour ceux qui sont sous PS 1.4.8.2, voici mon fichier AdminProducts.php modifié : AdminProducts.php Toujours pour PS 1.4.8.2, voici les fichiers ProductController.php et CompareController.php, à AJOUTER dans /override/controllers/ pour corriger l'affichage des caractéristiques à valeurs multiples dans la fiche produit et dans la comparaison de produits (voir captures d'écrans) ProductController.php CompareController.php Si vous êtes sur une autre version de prestashop ou si vous avez déjà ces fichiers dans votre dossier override, ouvrez les fichiers et repérez le code à changer pour effectuer vous-même les modifs sur vos fichiers (les modifs sont commentés) J'ai fais beaucoup d'essais sur un site que je développe en local, et tout semble fonctionner sans problème. - La navigation à facettes prend bien en compte ces valeurs de caractéristiques multiples, sans aucune modif suplémentaire - On peut toujours entrer des caractéristiques personnalisées (non gérées par la navigation à facettes) - Avec les deux fichiers override joints, les caractéristiques à plusieurs valeurs s'affichent correctement dans la fiche technique produit et dans la comparaison de produits. Voila, je pense que cette modif pourra intéresser pas mal de monde... Mais, malgré tous mes essais, il est toujours possible que cette modification interfère avec d'autres parties du code, alors si vous rencontrez des problèmes faites le savoir ici.
  15. Hello, I'm trying to sort product in multiple categories. I have products : A, B, C, D, E, F, G in categories : 1, 2, 3 and 4 Cat 1 : A, B Cat 2 : C, D Cat 3 : E, F Cat 4 : A, C, E, G I can sort product in categories 1 to 3. But if I want to sort the Cat.4, nothing happens. In the backoffice it's ok, but on the front end, nothing is how I want it to be. Can't we sort products in multiple categories or is there a "hack" way to do it ? Thank you
  16. Greetings, I have the following case: We have two companies, Company A and Company B. The two companies have their products in the same prestashop, Company A has the categories X, Y, Z and Company B has the categories H, J, K . The products of the two companies are displayed in the fron-office as if it were a single store, a single company. Our need is that when a user purchases products belonging to the category, for example, X and K, he should send two invoices, one as Company A, with the data of the same and the products of category X and another as Company B with the products of category K. Is there any module which can filter the purchase by categories and generate independent invoices? Thanks in advance!
  17. Hi We have a strange problem, our webshop (Prestashop 1.6.1.17) sends the same invoice again and again to two internal employees, they have both placed an order several weeks ago but keep getting the mail with the same invoice? Sincerely Morten
  18. Hi, we would like to set up PrestaShop with multiple prices per item, is this possible? My client wants to show different prices for each product. On their website they show USD and CAD prices for each item, without doing automatic currency conversion. It is possible to assign multiple prices to a product, depending on the locale for the user? i.e. customers in the US see the USD price, all others see the CAD price. Thanks so much for any help here.
  19. Hello, I have a problem with my pdf invoice. If I have a long invoice, 2 pages or more, Adobe reader says it contains an error. The second page is empty and it only displays the footer of the first page in the middle of the page. I used this guide to modify my invoice: http://www.prestashop.com/forums/topic/213664-guide-modifying-prestashop-15-invoice-template/ With the default invoice pdf I have the same problem. I followed this topic: http://forge.prestashop.com/browse/PSCFV-11536 They said to remove line 187 of the PDFGenerator.php: $this->SetAutoPageBreak(true, PDF_MARGIN_BOTTOM); but it didn’t work. Does anyone know how I can fix this? I’m using prestashop version 1.5.4.1 Thanks!
  20. Hello, I want to create all possible combinations of a product at once, programmatically. I can see this function addAttributeCombinationMultiple in the product.php class to add them to the product but I do not know how to create all the possible combinations. Any help would be greatly appreciated!
  21. Hello, I'd like to allow users uploading more than 1 file in the contact form. I would like to use multiple="" to allow selecting multiple files with Ctrl. After that it would be perfect if both names show up in the Field where the filename is set by uniform js. Unfortunately I am not familiar with javascript. And after adding multiple to the input field in the theme file still only the last choosen file is displayed as filename. Has anyone already dealt with uploading multiple files in the contact form? Tomorrow I will describe my issue a little more detailed and show you which changes I already did exactely and which I was not able to perform. So far I am only dealing with the template part of uploading multiple files. Controller part should not be a problem, I think. Thank you in advance for your help and the great community Best Regards, Benedikt Schickan
  22. Bonjour à tous, J'ai overridé l'IdentityController pour ajouter un champs "Activité" lors de la création du compte. Ce champs est un select multiple. Je le sérialise pour l'enregistrer en base. Pas de problème pour récupérer la valeur et attribuer "selected" aux options concernées dans les templates front avec la variable $smarty.post. Mais impossible de faire la même chose pour la vue client BO. Je peux re-créer un tableau avec mes valeurs, mais celles cochées à l'inscription ne réapparaissent pas en BO. $this->fields_form['input'][] = array( 'type' => 'select', 'label' => $this->l('Activité'), 'name' => 'activite[]', 'values' => $activites, 'multiple' => true, 'options' => array( 'query' => $activites, 'id' => 'key', 'name' => 'name' ) ); La variable $activites contient le tableau de mes 8 activités avec key et name. Je rappel que mon champs en base est sérialisé.. Merci à vous !
  23. Buenas tardes. Quisiera recurrir a la colaboración de ustedes en el siguiente tema, me pregunto si es posible manejar doble divisa para los productos de prestashop, lo digo porque tengo algunos productos que son importados y quisiera mantener su divisa en dólares USD, sin embargo hay otros que no son importados por lo tanto quisiera mantener la divisa de estos productos en pesos colombianos COP. La idea es que los productos que son importados su precio se actualice automáticamente dependiendo del valor del dólar USD (eso ya lo hace la tienda) pero también me cambia los precios de los demás productos que no son importados y que tienen un valor en pesos colombianos COP, de esa forma los productos que no son importados su precio se modifica con el cambio del dólar y es precisamente lo que no quiero. Que podría sugerirme en este caso, agradezco de antemano su atención y colaboración prestada
  24. Hello everybody, I would like to find a module, or find a talented developer for that module. Thank you for kind reply. What is needed: Automatic (dynamic) Pack selection when calculating best price for quantity needed. Quantity - is the variable entered by client when visiting a product page. Lets make it easier to understand: 1) open this link: http://addons.prestashop.com/demo/FO8205.html - you will see predefined quantities (Packs 1000,2000,3000). These are predefined. 2) open this link: http://addons.prestashop.com/en/front-office-features-prestashop-modules/3129-fo-quantitydeclinations-prices-quantity-per-multiple.html - here you will see the idea, when client enters the quantity. See here: http://demos.foqty.oleacorner.com/en/t-shirts/1-t-shirt-delave-manches-courtes.html 3) But second module lacks of more price ranges per quantities. 4) Both of modules lacks of "automatic Pack selection" by given quantity. what is "automatic Pack selection"? Lets see examples, assuming the stock in infinite. Lets take example number ONE: 1) client wants to buy 111 pcs of product. 2) in predefined product Packs we have: pack A, containing 1 pcs of product, pack B, containing 10 pcs of product, pack C, containing 20 pcs of product. 3) pricing is best for pack C. I mean that pricing A>B>C. - A is worst, B is better, C is best price per product. 4) What is the best available price for 111 pcs? Assuming no more extra discounts. 5) the answer should be automatically calculated for client in that way: 6) (5 * pack C) + (1 * pack + (1 * pack C) = a best price. Lets take example number TWO: 1) client wants to buy 29 pcs of product. 2) in predefined productPacks we have: pack A, containing 1 pcs of product, pack B, containing 10 pcs of product, pack C, containing 20 pcs of product. 3) pricing is best for pack C. I mean that pricing A>B>C. - A is worst, B is better, C is best price per product. 4) What is the best available price for 29 pcs? Assuming no more extra discounts. 5) the answer should be automatically calculated for client in that way: 6) (1 * pack C) + (0 * pack + ( 9 * pack C) = a best price. 7) even more - telling the customer: "buy +1 pc to get better price (formula: (1 * pack C) + (1 * pack + ( 0 * pack C) = a best price)" I didnt calculate all the cases for example number TWO, but it can be, that situation X: (1 * pack C) + ( 0 * pack + ( 9 * pack C) is worse that situation Y: (0 * pack C) + (2 * pack + ( 9 * pack C ) Thanks for reply. Have a good day!
  25. Hello, is it possible to let customers select quantities of product accessories? For example I have a bed as my product and white, yellow, red pillows as accessories. I want to let my customers choose how many of each pillows they want to get with their bed. Adding different accessories and listing all possible quanitties is not an option, as they can order 1 white, 10 yellow and even 150 of red pillows if they want, that is why I want to give them an option to input the quantity of the accessories. Any possible solutions or thoughts to get me to the right direction are more than welcome, thanks!
×
×
  • Create New...