Jump to content

Search the Community

Showing results for tags 'percent'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 12 results

  1. Hi! I have different natural wood pieces and offer to apply an enamel coat in different colours. How can I put 20 different options (each one has different percentual increase for the group of pieces added to cart) ? EG: 10 different pieces (each one has it Product ID, price, etc) will be painted in one of the 20 available colours. "Red" is 12% more expensive than natural wood, "Green" is 8% more expensive, and so on... How can I add a seleccion list (at the beggining or at end of the process) so as to increase the total price?? (I need to select the colour for all the pieces in te cart, not individually) Thanks!
  2. Hello all, I am currently on PS 1.6.0.6 build and I am having a problem with my product pages and discounts displaying properly. At first I experienced an issue where my product combinations will not apply the percent discount under Specific Prices and "Add a New Specific Price" to my second or third product combinations and would not display the reduction_percentage and old_price on the product page without having the Specific Price percentage reduction applied to the first product combination. No amount of changes to any of the second and third product combinations made the reduction_percentage and old_price display on the product page so I did some more digging. I don't want to have to create a fake product combination percentage reduction on the first product combination to get the real ones to apply to the second and third product combinations so I started digging around in the product.tpl file for a root cause. I have located the portion of the file that appears to control the reduction_percentage and the old_price around line 267 and coded out the class="hidden" for the old_price portion as well as the style="display:none;" and now the strikethrough shows with the old price but I still cannot get the percentage discount to show. When I removed out the style="display:none;" from the reduction_percentage line of code on line 268 no matter what I do I cannot get the changes to reflect on the front end of the website. When inspecting the live code the old_price changes show live but the reduction_percentage line of code still shows style="display:none;" and no changes I make have any effect on this. I can toggle the display:none; element on and off with my developer tools and it shows properly then disappears upon refreshing the page. Is there another file that controls the reduction_percentage style="display:none;" element that needs to be overriden somewhere else? I have even gone as far as to add a !important tag to the .css file for those element and still no override occurs. I am going crazy trying to track this down and need help! J Dub product.tpl
  3. Bonjour à tous, Je rencontre un soucis sur une boutique PrestaShop 1.6. Celle-ci contient des produits avec des tarifs dégressifs par quantité. Exemple : Un t-shirt à un prix de base de 10€ HT A partir de 100 unités, le prix passe à 8€ HT A partir de 500 unités, le prix passe à 6€ HT Les données sont importées via PrestaShop (pour les produits) et les prix spécifiques sont importées via un développement custom, pour venir peupler la table specific_price. Les prix dégressifs changent le prix de base de produit, il ne s'agit pas d'une remise en euros. Jusqu'à maintenance, cela fonctionne très bien. Mon problème : Pour une catégorie de produits, je souhaite appliquer une remise en pourcentage de 10%. J'ajoute donc un prix spécifique correspondant à une remise en pourcentage. Cela ne fonctionne pas, sur la boutique, seules les prix dégressifs sont prix en compte. J'ai installé une boutique neuve, et c'est l'inverse que je constate, seule la remise en pourcentage s'applique. Ma question : Peut-on faire cohabiter une remise par quantité, basée sur le prix de base du produit (et pas une réduction en montant) avec une remise en pourcentage, sur le même produit ? Merci d'avance pour votre aide et vos retours, Thymotep
  4. Witam wszystkich. Postanowiłem w końcu po długich poszukiwaniach napisać na polskiej grupie post o moim problemie. Chodzi o podnoszenie ceny na wariantach produktu (generator cenowy) nie za pomocą wartości (+ 100zł), a za pomocą procentu (+ 10%). Płatne rozwiązania dostępne w necie zakładają zmianę kilku produktów w oparciu o dany wariant(y) czy kategorię, ale to mnie nie satysfakcjonuje. http://catalogo-onlinersi.net/en/prices-and-promotions/424-mass-price-update-plus.html Zapytałem o możliwość rozbudowania generatora cen na karcie produktu w dyskusji poświęconej wersji 1.7 ale taka zmiana nie jest przewidziana. https://www.prestashop.com/forums/topic/480580-want-to-know-more-about-17/page-2?do=findComment&comment=2232314 Ze wszystkich wątków na forum, wyłuskałem trzy, w których "ktoś coś próbuje" i nawet osiąga efekt ale dla wcześniejszych wersji. Ja posiadam najnowszą, czyli 1.6 Rozwiązanie, które satysfakcjonowałoby mnie zawiera się w tym wątku: https://www.prestashop.com/forums/topic/52441-adding-atribute-as-a-percentage-increase tyle że to do wersji 1.5 jeśli nie wcześniejszej. Chodzi o podanie wartości z przedziału x > 0 oraz x < 1, czyli wpisanie wartości 0.5 podniesie cenę o 50% Głowili się też na tym kiedyś Hiszpanie https://www.prestashop.com/forums/topic/189218-solucionado-incrementar-porcentaje-a-atributo-version-15/ A jednemu to nawet działało, pod warunkiem, że wartość w wariancie nie była zerem. https://www.prestashop.com/forums/topic/293016-combinations-generator-with-percentage-almost-perfect/ Jeśli chodzi o powyższy link to te rozwiązanie mi nie zadziałało w 1.6 pomimo zgodności linijek w kodzie w tym miejscu z 1.5 - zakładam, że ten kod to nie wszystko. Czy ktoś mógłby mi pomóc z tym tematem?
  5. I'm using 1.5.3.1 and I'm hoping there is a way to add the tax % rate to two things: the shopping cart summary (shopping_cart.tpl) and the order detail (order_detail.tpl) views. 1.) Currently, the shopping cart shows the label "Total Tax:", but I'd like to have the % rate show beside the label (e.g. "Total Tax 12%:"). No idea how to do this. In fact... since my province (BC, Canada) just switched back to having two sales taxes instead of one, if possible I'd like to be able to show both rates when relevant (e.g. "Total Tax 5% + 7%:"). Since my tax rules are already set up with two rates for BC (state zone ID# 88, if that helps anyone), this should technically be possible. Although if that's too much of a pain to code I can always switch back to having only one rate set for BC (12%) and leave it at that. But the important thing is that any % being charged should display. 2.) Currently the order detail view doesn't even have a line for tax, which frankly amazes me (bit of an oversight there), and is an even bigger problem since I have no idea how to add that, never mind how to add the % as well. I may experiment with coping some code from the shopping cart but I suspect that may not work - I'm no developer. Any help you can offer would be greatly appreciated! ~ Elaine
  6. This store is running 1.6.9... I've set up several Basket Rules with a % discount on specific products. When ordering these products and applying the 'Voucher Code' on the Payment page the discount is applied perfectly, EXCLUDING tax. Everything is calculated as intended. Once the order has been processed however, both order confirmation email and the new order in the back office, show the discount has been applied to the order total INCLUDING tax? Despite what was displayed at 05. Payment? Even though it all looks 100% correct when the user submits the order, as it processed the tax is applied to the discount that in turns gives the client an ‘extra’ discount... however, the total for both still is calculated correctly?! Has anyone encountered similar issues? I've tried searching for the same, but drawing blanks on this one. Here's a screen grab that might explain things a little better?
  7. Good morning. I Wear weeks Desiring to provide an percentage increase in between attributes and given the dilemmas that are in the "solutions" that I have researched ... there will be future problems on the day that you upgrade to newer versions of PS. So I try to touch as little as possible the core. Thanks to this trick, rescued of the "kitchendraw" user from the generator of combinations you can add a percentage of the base price using values ​​of 0.01 to 0.99. The problem comes when one of the attributes does not take price (usually the first), and therefore, the price ends up leaving of those combinations to 0. Someone could give me an example of how to add the base price for this formula only when one of the attributes is 0?? Pardon my english. Thank you very much beforehand. File: /controllers/admin/AdminAttributeGeneratorController.php (Prestashop 1.5.6.X) { $myprice = (float)preg_replace('/[^0-9.]/', '', str_replace(',', '.', Tools::getValue('price_impact_'.(int)$attribute))); if (($myprice <= 1) && ($myprice > 0)) { $price = (($price * $myprice) + $price); } else { $price += $myprice; } $weight += (float)preg_replace('/[^0-9.]/', '', str_replace(',', '.', Tools::getValue('weight_impact'.(int)$attribute))); }
  8. Hello everybody, I have a module that shows a percentage of the remaining products in stock, the thing is it shows a lot of decimals and I don't want to show this, I only want to display the whole number, here is part of the module code {if $valuepercen<100}<div class="weempty"><span class="percent">{*{$item}*}{100-$valuepercen}% </span><span class="restante">{l s='STOCK RESTANTE' mod='soldcountdown'}</span></div>{/if}
  9. Can anyone help me make a module to change the shipping to a percent of cart total instead of a fixed amount? You can see attached file. My main question is what should I put inside these functions to get the cart total and multiply by amount entered in carrier backend? function getOrderShippingCost($params, $shipping_cost) { } function getOrderShippingCostExternal($params) { } Thanks in advance shippercent.zip
  10. Hello, I tried multiple times to install PrestaShop 1.6.0.9 on my online server, but It always fails at 45 % while "configuring shop information". I deleted the MySQL-Database multiple times and made new ones, but that didn't help, I also tried to install it with Firefox first and then with Internet Explorer, made no difference. What could cause this?
  11. Hi, I use PS 1.5.6.2 I wanna edit the order of database in BO. When add discount as percent, it will be fine. When add discount as amount, it will throw error. Tax is disabled in BO. Here's the log file. Array ( [0] => Array ( [file] => G:\wamp\www\prestashop\classes\Cart.php [line] => 279 [function] => displayError [class] => ToolsCore [type] => :: [args] => Array ( ) ) [1] => Array ( [file] => G:\wamp\www\prestashop\classes\order\Order.php [line] => 660 [function] => getTaxesAverageUsed [class] => CartCore [type] => :: [args] => Array ( [0] => 829 ) ) [2] => Array ( [file] => G:\wamp\www\prestashop\controllers\admin\AdminOrdersController.php [line] => 1111 [function] => getTaxesAverageUsed [class] => OrderCore [object] => Order Object ( [id_address_delivery] => 60 [id_address_invoice] => 60 [id_shop_group] => 1 [id_shop] => 1 [id_cart] => 829 [id_currency] => 1 [id_lang] => 1 [id_customer] => 221 [id_carrier] => 44 [current_state] => 5 [secure_key] => 7d9e654228cef23f8db5ee896a31e93e [payment] => Bank Wire [module] => bankwire [conversion_rate] => 1.000000 [recyclable] => 0 [gift] => 0 [gift_message] => [mobile_theme] => 0 [shipping_number] => [total_discounts] => 26608.20 [total_discounts_tax_incl] => 26608.20 [total_discounts_tax_excl] => 26608.20 [total_paid] => 239473.80 [total_paid_tax_incl] => 239473.80 [total_paid_tax_excl] => 239473.80 [total_paid_real] => 532164.00 [total_products] => 250000.00 [total_products_wt] => 250000.00 [total_shipping] => 16082.00 [total_shipping_tax_incl] => 16082.00 [total_shipping_tax_excl] => 16082.00 [carrier_tax_rate] => 0.000 [total_wrapping] => 0.00 [total_wrapping_tax_incl] => 0.00 [total_wrapping_tax_excl] => 0.00 [invoice_number] => 6 [delivery_number] => 3 [invoice_date] => 2014-04-08 17:48:35 [delivery_date] => 2014-04-08 17:48:41 [valid] => 1 [date_add] => 2014-04-07 17:18:26 [date_upd] => 2014-07-14 20:08:21 [reference] => SGGZXGSON [webserviceParameters:protected] => Array ( [objectMethods] => Array ( [add] => addWs ) [_taxCalculationMethod:protected] => 0 [id] => 182 [id_shop_list] => [get_shop_from_context:protected] => 1 [table:protected] => orders [identifier:protected] => id_order [fieldsRequired:protected] => Array ( [0] => id_address_delivery [1] => id_address_invoice [2] => id_cart [3] => id_currency [4] => id_lang [5] => id_customer [6] => id_carrier [7] => payment [8] => module [9] => total_paid [10] => total_paid_real [11] => total_products [12] => total_products_wt [13] => conversion_rate ) [fieldsSize:protected] => Array ( ) [fieldsValidate:protected] => Array ( [id_address_delivery] => isUnsignedId [id_address_invoice] => isUnsignedId [id_cart] => isUnsignedId [id_currency] => isUnsignedId [id_shop_group] => isUnsignedId [id_shop] => isUnsignedId [id_lang] => isUnsignedId [id_customer] => isUnsignedId [id_carrier] => isUnsignedId [current_state] => isUnsignedId [secure_key] => isMd5 [payment] => isGenericName [module] => isModuleName [recyclable] => isBool [gift] => isBool [gift_message] => isMessage [mobile_theme] => isBool [total_discounts] => isPrice [total_discounts_tax_incl] => isPrice [total_discounts_tax_excl] => isPrice [total_paid] => isPrice [total_paid_tax_incl] => isPrice [total_paid_tax_excl] => isPrice [total_paid_real] => isPrice [total_products] => isPrice [total_products_wt] => isPrice [total_shipping] => isPrice [total_shipping_tax_incl] => isPrice [total_shipping_tax_excl] => isPrice [carrier_tax_rate] => isFloat [total_wrapping] => isPrice [total_wrapping_tax_incl] => isPrice [total_wrapping_tax_excl] => isPrice [shipping_number] => isTrackingNumber [conversion_rate] => isFloat [date_add] => isDate [date_upd] => isDate ) [3] => Array ( [file] => G:\wamp\www\prestashop\classes\controller\Controller.php [line] => 158 [function] => postProcess [class] => AdminOrdersControllerCore [object] => AdminOrdersController Object ( [toolbar_title] => [path] => [content] => [warnings] => Array ( ) [informations] => Array ( ) [confirmations] => Array ( ) [shopShareDatas] => share_order [_languages] => Array ( ) [default_form_language] => [allow_employee_form_lang] => [layout] => layout.tpl [meta_title:protected] => [template] => content.tpl [table] => order [list_id] => order [identifier:protected] => id_order [className] => Order [tabAccess] => Array ( [id_profile] => 1 [id_tab] => 31 [class_name] => AdminOrders [view] => 1 [add] => 1 [edit] => 1 [delete] => 1 ) [id] => 31 [required_database] => [token] => 2505653ea9c5af162ca6cb67ae46c993 [shopLinkType] => [_defaultOrderBy:protected] => id_order [_defaultOrderWay:protected] => ASC [tpl_form_vars] => Array ( ) [tpl_list_vars] => Array ( ) [tpl_delete_link_vars] => Array ( ) [tpl_option_vars] => Array ( ) [tpl_view_vars] => Array ( ) [tpl_required_fields_vars] => Array ( ) [base_tpl_view] => [base_tpl_form] => [multiple_fieldsets] => [fields_value] => [errors] => Array ( ) [list_simple_header:protected] => [fields_list:protected] => Array ( [id_order] => Array ( [title] => ID [align] => center [width] => 25 ) [reference] => Array ( [title] => Reference [align] => center [width] => 65 ) [new] => Array ( [title] => New [width] => 25 [align] => center [type] => bool [tmpTableFilter] => 1 [icon] => Array ( [0] => blank.gif [1] => Array ( [src] => note.png [alt] => First customer order ) ) [orderby] => ) [customer] => Array ( [title] => Customer [havingFilter] => 1 ) [total_paid_tax_incl] => Array ( [title] => Total [width] => 70 [align] => right [prefix] => [suffix] => [type] => price [currency] => 1 ) [payment] => Array ( [title] => Payment: [width] => 100 ) [osname] => Array ( [title] => Status [color] => color [width] => 280 [type] => select [list] => Array ( [10] => Awaiting bank wire payment [1] => Awaiting cheque payment [11] => Awaiting PayPal payment [6] => Canceled [5] => Delivered [13] => FastCheckout [9] => On backorder [2] => Payment accepted [8] => Payment error [12] => Payment remotely accepted [3] => Preparation in progress [7] => Refund [4] => Shipped [14] => Shipping blocked (Shopgate) ) [filter_key] => os!id_order_state [filter_type] => int [order_key] => osname ) [date_add] => Array ( [title] => Date [width] => 130 [align] => right [type] => datetime [filter_key] => a!date_add ) [id_pdf] => Array ( [title] => PDF [width] => 35 [align] => center [callback] => printPDFIcons [orderby] => [search] => [remove_onclick] => 1 ) ) discount-error.zip
  12. When I add a specific price to a product and hit the Save and Stay button, the page refreshes and I get that greyed area with the loading circle/arrow thing and it just stays that way. The arrows rotate but the grey never goes away and I can't click on another tab of the product because it's behind the grey. I can only save the product and go back to it. Everything seems to be saving fine though. The blue lines are actually in front of the grey area also which is weird. Anyone else have this issue? My specific price was a % if that makes any difference. I attached a picture.
×
×
  • Create New...