Search the Community
Showing results for tags 'Specific prices'.
-
Hi, I have discovered this on PrestaShop 8.1.7. It applies to rounding methods: Round on each line and Round on total when currency Decimals is set to 2. PrestaShop 8.1 rounds Unit Price with discount applied value but uses unrounded value for further calculations. This makes the calculations appear wrong. Example: Product base price: £0.30 Discount from 1000pcs: 31% Product price with discount applied: £0.207 (rounded to £0.21) PrestaShop makes the following calculations: £0.21 * 1000 cannot be £207.00 The problem is that rounded Unit Price with discount is displayed (£0.21) but unrounded value is taken to the calculations (£0.207). Possible approaches to correct this: 1. Display rounded value and use it for further calculations (as it was in PrestaShop 1.6): £0.21 * 1000 = £210.00 2. Display unrounded value and use it for further calculations (but the shop is set to 2 Decimals which is an issue): £0.207 * 1000 = £207.00 How to fix this? Thanks
- 3 replies
-
- specific prices
- discounts
-
(and 2 more)
Tagged with:
-
Hello, I have gotten a task from my boss to help a customer on his PrestaShop. The current problem I have encountered is that I get the wrong price to the different customers and have gotten to hold after hours of searching, trial, and error, with no success. I have asked my colleagues for help and they are at a blank too ( just to notice I'm an apprentice/intern ) For example, when not logged in the normal price is shown and then there is the discount product which is correctly shown images are in danish When logged in I get instead 10% on the same product It's meant to take the best discount 600.00 DKK but is instead taking 10% for the member discount. I have found some articles from 2014 where they override the standard code to get a discount, but think there should have been an easy way inside the back panel to do it easily. The rules for the product are like Hope there is some already built function, so I don't need to spend much more time getting the right product, I like to code but the customer is paying by the hour.
-
Hello: I am using version 1.7.8.5 of PrestaShop. I have created a CMS page, and I have created a template in the path /themes/classic/templates/cms/ to be able to display fully personalized content. So far, so good. In a section of the page, I want to display products from a certain category. I have achieved this without problems using the following code: {assign var="products" value=Product::getProducts(1, 0, 6, 'id_product', 'DESC', 11, true)} {foreach $products as $product} <div class="product-description"> <h3 class="h3 product-title"> <a href="{Context::getContext()->link->getProductLink( $product.id_product )}" content="{Context::getContext()->link->getProductLink($product.id_product )}">{$product.name} </a> </h3> </div> {/foreach} The loop works and the products are displayed. My problem is that I can't show the discounts of the products. I have tried various solutions based on other system TPLs, but I can't get the product discount. {if $product.has_discount} {if $product.discount_type === 'percentage'} <span class="discount-percentage discount-product">{l s='Save %percentage%' d='Shop.Theme.Catalog' sprintf=['%percentage%' => $product.discount_percentage_absolute]}</span> {else} <span class="discount discount-amount"> {l s='Save %amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]}</span> {/if} {else} <span class="price" aria-label="Precio">{$product.price|ceil} €</span> {/if} But the non-discounted price is always displayed, even on products that have it. How can I check if a product has a discount or specific prices, and then show it if so? Thank you very much in advance.
-
Hi. I was wondering if any1 can see through this issue with the price that turns negative when you reach the amount that impact the price. (I am not ready to change PS-files.) I did find out, though, that if you in your Specific Price rule choose a specific combination, then the price will be reduced (still positive) to the right price. All products in the table [specific_price] that has a {id_product_attribute} number (>0) seem ok - all other products in [specific_price] table with no {id_product_attribute} (=0) go negative Can anyone tell me what other attribute than combination I can choose to have the Specific Price to get a {id_product_attribute} ?? (as it is a lot of work if you have many combinations and some specific prices if you can't just choose [All combinations]) Or what other variable changes the issue? For me I can see that all products in the [specific_price] table that has a {id_product_attribute} is linked to the [product_attribute] table - is GOOD!!
- 2 replies
-
- negative
- specific prices
-
(and 3 more)
Tagged with:
-
Hi I need create discount in article trough Prestashop API I think it´s neccesary use specific_prices from API but always retur error 41. This is the result: <?xml version="1.0" encoding="UTF-8"?> <prestashop xlink="http://www.w3.org/1999/xlink"> <errors> <error> <code> 41 </code> <message> parameter "id_shop" required </message> </error> </errors> </prestashop> and this is the petition: <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <specific_prices> <specific_price> <id_shop>1</id_shop> <id_cart>1</id_cart> <id_product>469</id_product> <id_currency>0</id_currency> <id_country>0</id_country> <id_group>0</id_group> <id_customer>0</id_customer> <price>-1.000000</price> <from_quantity>1</from_quantity> <reduction>0.300000</reduction> <reduction_tax>1</reduction_tax> <reduction_type>percentage</reduction_type> <from>0000-00-00 00:00:00</from> <to>0000-00-00 00:00:00</to> </specific_price> </specific_prices> </prestashop> This is the URL https://mydomain and autentificacion/api/specific_prices? And by post method Any idea? Thanks
-
Hello, I'm new to prestashop, and wanted to know how to add the specific prices fields to my csv import. They seem to be in the table ps_specific_prices . I cannot find any forums on this topic. Any references to help me out would be greatly appreciated. Thank you in advance!
- 10 replies
-
- import
- specific prices
-
(and 2 more)
Tagged with:
-
Hi, in my shop I have 6 customer groups that have different prices for the products. I would need to import the specific prices of each product (divided into groups) via CSV, all automated with a cron job. Can you give me solutions? Thank you
- 1 reply
-
- cronjobs
- specific prices
-
(and 1 more)
Tagged with:
-
Salve, nel mio negozio ho 6 gruppi clienti che hanno prezzi differenti per i prodotti. Avrei bisogno di importare i prezzi specifici di ogni prodotto (divisi per gruppi) tramite CSV, tutto automatizzato con un cron job. Sapreste darmi delle soluzioni? Grazie
- 1 reply
-
- specific prices
- cronjobs
-
(and 1 more)
Tagged with:
-
Hi!! I am trying to add specific prices directly from the database because I need to change prices for specific references and I can't find any module that does. From what I think I should first take the ids of the products based on the references from ps_products and then apply the discounts to those references from ps_specific_price but I get a mess on how it could be done ... If someone helps me I would greatly appreciate it!
- 3 replies
-
- prestashop 16
- price
-
(and 3 more)
Tagged with:
-
Hello everyone, I have a store with Geolocation enabled (PS v.1.6.1.18), with a default price for worldwide and a lower price for Spain. Everything was working perfectly until yesterday. No updates, no code changes done, nothing, but since yesterday it shows de worldwide price for Spain also. Hope anyone has a clue on how to solve this. I have read all the related forum topics in the PS forums, but none of the answers helped me solve the issue. Thanks a lot in advance, best regards!
-
Hello Prestashop Devs Your specific prices are really problematic and the problem I list here, I think should be treated as a bug. I have a product (small bags) of which one costs 0.70. Now we sell those bags for 0.16 if one takes 100 pieces. Making it a total amount of 16.00. If I enter the new price under specific prices, the right value is being stored in the database (0.16000) but on the front end of the shop it takes 0.20 as item price which leads to the wrong total price of 20.00 instead of 16.00. I played around with the rounding methods, my own added swiss rounding method and others. I installed a rounding module and tested with this, but all that just changes nothing. This is far too inaccurate! If the specific price would be for a thousand of those items the calculations would be off even worse. Can you please explain how I can get the correct amount of discount for this product or fix the specific prices so it does what I tell it to? When setting up specific price I only fill in the quantity of the product (100) and a discount price of 0.54. The database as said shows an item price of 0.16000 which would be correct. The product and cart pages show an item price of 0.20 when the specific quantity is reached. The html attribute data-real-discount-value shows also 0.20. WHY would you round that specific price (even when I set the presta admin settings to "round on total" and not "round each line"). It makes absolutely no sense, especially when the prices are that low. Think of someone who wants such a price discount for 1000 pieces. The prices would be totally wrong... Shopversion: 1.6.1.16 Please advise!
-
I have attached a screenshot of one of my Product pages. The page shows none of the specific prices I have set up for this product (or any of the other products for that matter). This particular item has 2 specific prices that are active. They show and work correctly in the front end of the site. They used to show here so that they can be edited or deleted. Now, every product page says there are no specific prices set even when there are and they work out front. I changed nothing in the admin settings and have rechecked them all anyway. I have cleared the cache. Disabled each individual cache option separately, grouped and all together, then cleared the cache again. I have logged out, back in, and nothing works. It is necessary to be able to see what specific prices are attached to products and edit them as needed. One product says there is already a specific price that matches what I try to setup for a new rule, yet still says there are no specific prices for the product. What gives?
- 10 replies
-
- product price setup
- product setup
-
(and 2 more)
Tagged with:
-
Hello everyone. How is it possible to get price range filter to work with specific prices (special discounts) on ps1.5.2? As i have seen so far price range work only with base price and not Final price value. Thanks in advance.
- 53 replies
-
- Layered Navigation
- price range
-
(and 1 more)
Tagged with:
-
Ik loop tegen het volgende aan in prestashop 1.6.1.10 in het Default-bootstrap thema: Doel is 1 product: Verpakking 1 (2,5KG) -> € 22,49 Verpakking 2 (10KG) -> € 79,99 3x Verpakking 2 (10KG) -> € 79,99 - € 10,- = € 69,99 Ik heb een Product A. Dit product bestaat uit twee verpakkingen. Verpakking 1 is 2,5KG en verpakking 2 is 10KG. Als men 3 verpakkingen van 10KG koopt, krijg men een korting van € 10,- per verpakking. Ik heb in het backend het zo ingesteld dat de basis pijs leeg is. Verpakking 1 heeft invloed op de prijs van een verhoging van € 22,49, verpakking 2 een verhoging van € 79,99. Werkt prima. Ik kan uit de dropdown alles selecteren en prijswijzigingen zijn goed. Nu komt het: Als ik de volume korting van de 10KG zo instel dat men vanaf 3 producten van 10KG met een korting krijgt van € 10,- dan past de prijs zich bij 3 producten aan naar € 12,49. De prijs van de verpakking 1 dus met een korting van verpakking 2. Als ik de producten toevoeg aan de winkelwagen staat er wel de correcte prijs. Als ik de waarde weer naar 2 zet, veranderd de prijs netjes weer naar € 79.99 Tijdens het zoeken naar het probleem heb ik als test de volumekorting al op 1 pakket van 10 kg gezet. Dan wordt de prijs prima weergegeven. Dus € 79,99 (streep er door) - € 10,- (in balk) = € 69,99 (aanbiedingsprijs). Wat gaat er fout en kan iemand mij helpen dit correct weer te geven zoals in de bijlage (Screen_specific_prices_from_1) Screens toegevoegd als bijlage
- 2 replies
-
- volumekorting
- combinaties
-
(and 3 more)
Tagged with:
-
As of right now our system uses specific prices as a way to charge different prices to different countries so that we can keep the prices attractive looking to customers. We've decided to add some extra currencies into the mix and I've found a weird little issue. Sometimes when we try to submit a new specific price it simply doesn't add it to the list. You have to try three of four times before it acknowledges it and adds it on. There are no errors or notifications of any kind when this happens it simply appears to reload the page when you click save & stay. I thought maybe for whatever reason the error box just wasn't being displayed but when I try the exact same process with an invalid date range I do get a warning box so I'm unsure how to proceed with resolving the issue. It's not really realistic to expect someone to just keep trying to submit the specific price until it works so I'm hoping you might have some answers or at least be able to point me in the right direction. Grasping at straws I had a look at the php error log to see if there was anything in there that might shed some light but the only thing in there of relevance was this: [08-Nov-2016 10:53:31 Europe/London] PHP Notice: Undefined index: right_column_size in /var/www/webroot/ROOT/cache/smarty/compile/0f/8d/fc/0f8dfc58fb3f59a5f8b2b0482ee84061014c5999.file.product.tpl.php on line 1394 [08-Nov-2016 10:53:31 Europe/London] PHP Notice: Trying to get property of non-object in /var/www/webroot/ROOT/cache/smarty/compile/0f/8d/fc/0f8dfc58fb3f59a5f8b2b0482ee84061014c5999.file.product.tpl.php on line 1394 Chances are this is only relevant for the actual product theme file but I figured I'd include it just in case that turns out to be incorrect.
-
- specific prices
- 1.6.1.7
-
(and 2 more)
Tagged with:
-
Hi everyone, We are using Specific prices to set-up RRPs in our second currency. The problem is that in the list view all prices appear first as strikethrough, then the same price dispalyed again. The detail page though shows only one price. Please see the attached screen shots. The last line in the Specific Prices shows Apply a discount of.... and I tried with 0 or blank, but it's the same. Any idea how I can remove the strikethrough from the list view for these cases when there's no discount? Thanks a lot, Andreea
-
I run a instance of prestashop that uses multiple currencies. These currencies are chosen based on geotagging but the user is free to adjust to another currency if he or she wishes. We sell a main physical product and then quite a few physical and virtual accessories for the main product. On the product page of the main product I have included add to cart buttons for some of the accessories so you've got the main product and if you scroll down the page a bit you'll find a promotional section about an accessory with an add to cart option so they don't need to leave the main product in order to purchase some of the accessories. That in it self is not a problem but I'm not sure how to include the price of the accessory on the main product page. I've found a way to pull the default price for the product but that is a dollar value which is not ideal for anyone using one of the other currencies. It's also worth noting that we use specific prices within Prestashop so just converting the dollar value isn't an option. How do I go about pulling a products price in the customers selected currency over to a template file?
-
- specific prices
- product.tpl
-
(and 4 more)
Tagged with:
-
Ver: 1.6.0.11 My entire shop is set up with a catalog rule for 20% off. (My "regular" prices of my products are always 20% off retail, and I want my customers to see what the MSRP is before my discount.) I have had to made a separate catalog rule for each main category of my store. Each month, a "Main" category and all it's sub-categories at 25% off. Switching around the Catalog rules for this kind of sale is easy. I have also made separate categories based on common themes. For instance: "All things Red". If a product is red, it appears in this category as well as it's default category. I would like to have a sale on all products in the "All things Red" category. They all would be 25% off. When I create a catalog rule for "All Things Red" to be 25% off, it's being ignored because these products appear elsewhere in my store under categories that are 20% off. (I don't mind if a "Red" book is 25% off while "Blue" books remain 20% off within the "Books category.) Is there a way to set a priority for the discounts? So if I list all things Red at 25% off, it would overrule the 20% off discount within books in general. Did I explain my dilemma correctly? Thanks!
- 11 replies
-
- SPECIFIC PRICES
- discount
-
(and 1 more)
Tagged with:
-
Hi Everybody, I am searching help to get the Specific Prices working for Customer Groups (resellers). No matter what specific price I add it never shows up in the front office. When I choose a customer Group it does not work, the same when I asign the price to a specific customer. I am using the Cash option: "Clear cache everytime something has been modified". So the cash should not be the problem. I read some topics about similar probs but could not find a solution. Pestashop Version 1.6.0.11 I am desperately need a solution for this. I imported already 2k products and am so close to the finish of my shop. Please, I would be greatful if somebody has a solution for this Problem Cheers Orange
- 2 replies
-
- Prestashop 1.6.0.11
- customer group prices
-
(and 1 more)
Tagged with:
-
Hello, For one product we have two spectific prices types, 1.- Price from a certain quantity of units 2.- Another specific Price for customers and products (any quantity of units) We want that when a client with specific Price is buying, this Price always has priority. Is it posible without creating a group for each client or without programming? Thanks, Marc
-
I am trying to use Prestashop 1.6.0.9 for quite some time now but unable to get started for combinations are putting me down. I am using the standard theme. The problems I am facing are as below - Website Link: http://www.pitonsystems.net/presta 1. On the Home Page the combinations are not shown with products under New Arrivals / Best Sellers / etc. 2. On the Product List Pages, the combinations do show up, but the prices do not update on selecting combinations and price of default combination remains unchanged on screen. However, when I add-to-cart the non-default combination, the appropriate price is picked up. 3. On the Product Details Page, exactly as above happens. I have updated the "Specific Prices" for products but have not used the "Impact On Price - Increment / Decrease" option. Not sure if this has any effect on it. Actually, we are an online grocery store where prices of products change as per pack size or weight. So, impact on price - increase / decrease of base price does not really help me. Can someone please help? I have been experimenting with this for several months and now really frustrated. Is there any module OR theme that can help me resolve these issues?
- 4 replies
-
- Combinations
- Specific Prices
- (and 2 more)
-
When i add multiple conditions to condition group there isn't any effect. There is no problem with one condition or multiple groups. However there is still necessity to have one condition inside each of group. If there isn't any conditions or groups, discount is applied to all of products. Any ideas what's the matter?
-
HI Forum, We have discovered an issue with any product where there is a "specific price" set for the product group or any price that is different then the "retail price". We are using Prestashop 1.6.0.9 and PaypalUSA v1.3.8 What we have tried: 1. We have disabled Tax 2. We have changed the specific price from a "fixed price" to a "apply discount of x" 3. we have change the "priority management" to have the "Group" as the first priority. Other things: Whenever we are selling a product at the full retail price the order gets created, sent to paypal, and returned to prestashop like it should with emails going out and a valid order being created. How can we set up prestashop so that we can sell products at a different price than the retail price and be able to get a valid order create? thanks for any help,
-
- specific prices
- product prices
-
(and 2 more)
Tagged with: