customgento / customgento_configurabletierprices Goto Github PK
View Code? Open in Web Editor NEWTier Prices For Configurable Products for Magento 1 changes the way Magento calculates tier prices of configurable products.
License: Other
Tier Prices For Configurable Products for Magento 1 changes the way Magento calculates tier prices of configurable products.
License: Other
Hi,
I installed your module but now the tier pricing tables on any product disappears as soon as the product page loads. If anyone knows a fix for this, please let me know.
Thanks
If one has enough products in the cart to get a tier price, the tier price is displayed as a special price on the product detail page.
I have just installed the moduel and it doesn't appear to have had any affect. The following product has a tier price applied and only kicks in when multiples of the same variant have been installed: http://www.ostomart.co.uk/default/coversure-custom-made-100-tactel-pouch-covers
Similar to the other test methods in CustomGento_ConfigurableTierPrices_Test_Model_ObserverTest
, there should be methods, which check the pricing in the admin area:
/**
* @test
* @loadFixture createProducts
* @doNotIndexAll
*/
public function testProduct1AdminPricing()
{
// TODO implement test
}
/**
* @test
* @loadFixture createProducts
* @doNotIndexAll
*/
public function testProduct1AdminTierPricing()
{
// TODO implement test
}
When the module is enable and cart have configurable tier price items switching currency will hang and bring up memory size exhausted (Memory Limit= 1024mb). Once the module is disable the switching currency works fine with configurable items in cart on main page and on cart page. I have look into the Observer.php and i think the problem causing this issue is from "private function _getAllVisibleItems()"
"Mage::getSingleton('checkout/session')->getQuote()->getAllVisibleItems();" This is causing an infinite loop on collecting the items. I try to fix the issue rewriting this code but same result for spliting up the get checkout/session and getQuote to stop the infinite loop when changing the currency. Hope there will be a fix on this. Thanks
Regards
Kevin
Hi friend,
You have answered this question in #15 but I am having the same issue. The extension for surcharge associated product does not exist anymore.
Product receives one set of tier pricing then another tier price another upon changing dropdown attribute.
Am looking for the Tier Pricing Table to update and reflect this properly prior to "Add to Cart". Currently cart price is changing properly.
Am using Magento 1.8.1 if that helps, appreciate your work.
We have the following custom business logic to implement in our aggregation module.
Customers (mostly departments, affiliates, ...) can place orders and together they can lower the price of an item by using a "global" tier pricing setup.
So the final price of an item should be based on the total quantity available in the cart - as implemented right now by this package - plus the quantities already ordered by other customers.
We are using the latest tagged version v2.1.0, where the methods in the observer are defined as private
. In the master branch, however, they already seem to be defined as protected
.
So we could already rewrite _calcConfigProductTierPricing
and implement our own logic. Even better, imo, would be to extract the quantity calculation to its own method.
This way we could implement our logic in a very DRY way...
class Rewrite_ConfigurableTierPrices_Model_Observer extends Spranks_ConfigurableTierPrices_Model_Observer
{
protected _calculateProductQuantity($product)
{
$quantity = parent::_calculateProductQuantity($product);
return $quantity + $totalQuantityOfAllOrdersCustomValue;
}
}
Wdyt?
Would you accept a pull request that implements this?
Hei,
I installed it and get following error:
Please advice how to fix. Thanks
System Configuration :
The installation has successfully done. Then I clear all files under \var\cache. Logout and Login again the admin. Get Error When clicking on "Configurable Tier Prices"
PHP Fatal error: Class 'Spranks_ConfigurableTierPrices_Helper_Data' not found in E:\Website_Magento\BlankTee191\app\Mage.php on line 547
Best Regards,
Billson
Hi,
I'm facing the following issue with My Magento CE 1.7 edition, with Tier Price & configurable product with your module :
I have one configurable product, with the following Price informations in admin tab :
In my front end, with a user member of "Pros" group, for my product, with none selected, Tier Price rules appears correctly.
But :
Selecting 3 pieces in my cart : rule applies correctly with correct price in cart,
Back to product page, following price elements are displayed
buy "5" for "75" -> OK
buy "10" for "72.5" -> OK
but selecting an option and then appearing rules are changing
buy "5" for "77.5" -> KO
buy "10" for "75" -> KO
Meanwhile, correct rules like defined in admin tab are correctly applied in the cart
Hi there,
For one of our shops we used Spranks_ConfigurableTierPrices to make Configurable Products and Tier Pricing work together. Works awesome!
Untill... your products have a Custom Option with a Fixed price.
Could you have a look at this? It would be awesome if you could get this fixed!
Best regards,
Yorrick
I love spranks but I believe it conflicts with SCP extension, I can only use either one. Anyone encountered this issue before and could offer me some advice?
As the title suggests this doesn't work for Magento CE 1.9.3.2 if your able to update i would appreciate it.
I have checked the module is enabled.
I have checked the disable category is set to "no category".
I have added price tiers to parent/all child products.
I have checked the disable setting for parent/all child products is set to "no".
I have clear all caches and re-indexed.
Hi Simon,
the module installs without any errors and seems to work, but if I run the setup script manually via n98-magerun I am getting the following error:
Error in file: "/htdocs/app/code/community/CustomGento/ConfigurableTierPrices/sql/customgento_configurabletierprices_setup/upgrade-2.0.0-2.1.0.php" - SQLSTATE[2300
0]: Integrity constraint violation: 1062 Duplicate entry '9-General' for key 'UNQ_EAV_ATTRIBUTE_GROUP_ATTRIBUTE_SET_ID_ATTRIBUTE_GROUP_NAME', query was: INSERT INTO eav_attribute_group
(a ttribute_set_id
, attribute_group_name
, default_id
, sort_order
) VALUES (?, ?, ?, ?)
The same error appears, if I try to clear the cache via Magento admin.
Any ideas?
The extension should be compatible with Webguys_Configurablematrix. This extension puts simple products to the cart, so that the configurable product pricing does not work. Check, if the extension developer will change this behaviour (I think there is no need to do it like that). Otherwise try to make the extension compatible in another way.
First I would like to thank you for putting together this extremly usefull extensions.
I do have just one small issue with it:
We do have different prices for simple products depending on size and color.
The extention works great for products where all the simple products have to same price, but when using it with products where the simple products have different prices, all simple products show the same price in the shopping cart?
When creating an order via the admin it does not apply the configurable prices. Only works from the front-end. Any thoughts as to a fix?
I'm wondering if this extension can (or should) be refactored to use the catalog_product_get_final_price
event instead of using a rewrite. In general rewrites are considered more taxing on resources and not the best practice since they can create conflicts.
I'm fairly new to Magento development, so perhaps there's a reason why a rewrite is necessary in this situation and I'm just not seeing it.
Hi,
I configured a configurable product plus all the simple on the same rules, but it does not work. For a ra product you got 3%, it works when you take 25 of the same simple porduct but if you choose 13+12 it isn't working.
It used to work.
I send you all the details in a PM.
Thank you.
Damien.
When bug happens: The Tier Price is set and equal to the Product price.
What happens: The attribute price was added to base price 2 times higher than it should be.
Example: Let says I have a product with 2 sizes: L and S and the Special price is $10 for the S and +2 for the L.
If I set a tier price equal to $10, when I added a “L” size to the cart, the unit price appears $14 instead of $12. In other words, the price difference of $2 was added twice to the base price.
Tested with Magento 1.7.0.1 & 1.7.0.2. and Spranks_ConfigurableTierPrices with 0.0.3.
Does this pull customer group pricing from the simple products?
This is my test server there is no real reason to do a stock magento install and re create the problem I don't see why that would fix my current issue.. My issue has to do with my website and your plugin i am just wondering if there was a quick fix it does not matter what happens to this website as this is my current test server..
If it is a timing issue due with $$$ I will compensate for labor
I am just wondering if this extension can be useful to me, I am needing the tier pricing to only be per configurable product let me give you example
Shiny white high school gown has tier pricing based on bulk
1 = certain price
2-20 = certain price
21-50 = certain price
Etc
Etc
No matter what size and height they choose it should respect this tier what your plugin does.. The only thing is my grid disappears that shows tier pricing when installing your plugin and your plugin goes across the board on products meaning now if I goto
Shiny RED high school gown it also trys to respect this tier with the one stated above.. When I need them to separately honor each tier.. Per product..
Can this be done?
Here is my website
http://www.faithpointdallas.com/gradtest
[Deleted login data]
Please help me please Simon
I have a client that has a configurable product, but the pricing is different for each simple. They would like to combine the total items purchased as you are doing, but apply the pricing from the simple products and not the configurable. Any ideas?
Hello,
I've just repeated the installation, then I've cleared the cache, then I've checked that every configuration about "Prinks Configurable Tier Prices" were activated, and normal price was higher than tier prices... but it don't work.
My Magento store continues to use normal price of configurable product instead of those from tier price table of simple products associated.
What am I doing wrong?
Regards
Hello,
Thanks for this module ! but the cart price is bad until you're going to checkout/cart.
This issues is just for my project or it's recurrent issue ? (My project work with an ajax cart)
I installed Spranks_ConfigurableTierPrices without realising that I installed the SCP-extension as well. So my configurable tier prices do not show up.
I read on this blog that Mr. Spranks proposed to merge the 2 extensions together. Did you do it finally?
Do you have an other solution for me?
Hello,
i need that the extension add the items with same colour but not add the different colour.
It is possible? I have items configurable with attribute size and colour.
http://www.atelierdelricamo.it/t-shirt-uomo-valueweight-manica-corta-fruit-of-the-loom.html
For some reason if I have a product in cart and save the product in admin panel - change price etc.
When I refresh the cart I get a nested loop error:
Mage_Core_Controller_Varien_Router_Standard->match( ) | .../Standard.php:91
7 | 0.0374 | 2484776 | Mage_Core_Controller_Varien_Action->dispatch( ) | .../Standard.php:254
8 | 0.0374 | 2484968 | Mage_Checkout_CartController->preDispatch( ) | .../Action.php:407
9 | 0.0483 | 3278144 | Mage_Checkout_Model_Cart->getQuote( ) | .../CartController.php:129
10 | 0.0485 | 3329728 | Mage_Checkout_Model_Session->getQuote( ) | .../Cart.php:119
11 | 0.0488 | 3437680 | Mage_Sales_Model_Quote->loadActive( ) | .../Session.php:127
12 | 0.0500 | 3499384 | Mage_Sales_Model_Quote->_afterLoad( ) | .../Quote.php:376
13 | 0.0500 | 3500224 | Mage_Sales_Model_Quote->collectTotals( ) | .../Quote.php:1907
14 | 0.1179 | 8541320 | Mage_Sales_Model_Quote_Address->collectTotals( ) | .../Quote.php:1331
15 | 0.1203 | 8552880 | Mage_Sales_Model_Quote_Address_Total_Subtotal->collect( ) | .../Address.php:1013
16 | 0.1204 | 8553968 | Mage_Sales_Model_Quote_Address_Total_Subtotal->_initItem( ) | .../Subtotal.php:48
17 | 0.1208 | 8555264 | Mage_Catalog_Model_Product->getFinalPrice( ) | .../Subtotal.php:115
18 | 0.1208 | 8555552 | Mage_Catalog_Model_Product_Type_Configurable_Price->getFinalPrice( ) | .../Product.php:712
19 | 0.2218 | 10158528 | Mage::dispatchEvent( ) | .../Price.php:52
20 | 0.2219 | 10158528 | Mage_Core_Model_App->dispatchEvent( ) | .../Mage.php:448
21 | 0.2219 | 10160384 | Mage_Core_Model_App->_callObserverMethod( ) | .../App.php:1337
22 | 0.2219 | 10160384 | Spranks_ConfigurableTierPrices_Model_Observer->catalogProductGetFinalPrice( ) | .../App.php:1358
23 | 0.2242 | 10160792 | Spranks_ConfigurableTierPrices_Model_Observer->_calcConfigProductTierPricing( ) | .../Observer.php:29
24 | 0.2242 | 10160960 | Spranks_ConfigurableTierPrices_Model_Observer->_getAllVisibleItems( ) | .../Observer.php:51
25 | 0.2242 | 10161048 | Mage_Checkout_Model_Session->getQuote( ) | .../Observer.php:85
26 | 0.2245 | 10161992 | Mage_Sales_Model_Quote->loadActive( ) | .../Session.php:127
27 | 0.2253 | 10171504 | Mage_Sales_Model_Quote->_afterLoad( ) | .../Quote.php:376
28 | 0.2253 | 10171504 | Mage_Sales_Model_Quote->collectTotals( ) | .../Quote.php:1907
29 | 0.2523 | 10345824 | Mage_Sales_Model_Quote_Address->collectTotals( ) | .../Quote.php:1331
30 | 0.2537 | 10358568 | Mage_Sales_Model_Quote_Address_Total_Subtotal->collect( ) | .../Address.php:1013
31 | 0.2537 | 10359008 | Mage_Sales_Model_Quote_Address_Total_Subtotal->_initItem( ) | .../Subtotal.php:48
32 | 0.2538 | 10359008 | Mage_Catalog_Model_Product->getFinalPrice( ) | .../Subtotal.php:115
33 | 0.2538 | 10359056 | Mage_Catalog_Model_Product_Type_Configurable_Price->getFinalPrice( ) | .../Product.php:712
34 | 0.2549 | 10359880 | Mage::dispatchEvent( ) | .../Price.php:52
35 | 0.2549 | 10359880 | Mage_Core_Model_App->dispatchEvent( ) | .../Mage.php:448
36 | 0.2550 | 10362464 | Mage_Core_Model_App->_callObserverMethod( ) | .../App.php:1337
37 | 0.2550 | 10362464 | Spranks_ConfigurableTierPrices_Model_Observer->catalogProductGetFinalPrice( ) | .../App.php:1358
38 | 0.2574 | 10362624 | Spranks_ConfigurableTierPrices_Model_Observer->_calcConfigProductTierPricing( ) | .../Observer.php:29
39 | 0.2574 | 10362672 | Spranks_ConfigurableTierPrices_Model_Observer->_getAllVisibleItems( ) | .../Observer.php:51
40 | 0.2574 | 10362672 | Mage_Checkout_Model_Session->getQuote( ) | .../Observer.php:85
41 | 0.2578 | 10363616 | Mage_Sales_Model_Quote->loadActive( ) | .../Session.php:127
42 | 0.2599 | 10373096 | Mage_Sales_Model_Quote->_afterLoad( ) | .../Quote.php:376
43 | 0.2599 | 10373096 | Mage_Sales_Model_Quote->collectTotals( ) | .../Quote.php:1907
44 | 0.2841 | 10547384 | Mage_Sales_Model_Quote_Address->collectTotals( ) | .../Quote.php:1331
45 | 0.2853 | 10560128 | Mage_Sales_Model_Quote_Address_Total_Subtotal->collect( ) | .../Address.php:1013
46 | 0.2853 | 10560568 | Mage_Sales_Model_Quote_Address_Total_Subtotal->_initItem( ) | .../Subtotal.php:48
47 | 0.2854 | 10560568 | Mage_Catalog_Model_Product->getFinalPrice( ) | .../Subtotal.php:115
48 | 0.2854 | 10560616 | Mage_Catalog_Model_Product_Type_Configurable_Price->getFinalPrice( ) | .../Product.php:712
49 | 0.2863 | 10561440 | Mage::dispatchEvent( ) | .../Price.php:52
50 | 0.2863 | 10561440 | Mage_Core_Model_App->dispatchEvent( ) | .../Mage.php:448
51 | 0.2864 | 10564024 | Mage_Core_Model_App->_callObserverMethod( ) | .../App.php:1337
52 | 0.2864 | 10564024 | Spranks_ConfigurableTierPrices_Model_Observer->catalogProductGetFinalPrice( ) | .../App.php:1358
53 | 0.2881 | 10564184 | Spranks_ConfigurableTierPrices_Model_Observer->_calcConfigProductTierPricing( ) | .../Observer.php:29
54 | 0.2881 | 10564232 | Spranks_ConfigurableTierPrices_Model_Observer->_getAllVisibleItems( ) | .../Observer.php:51
55 | 0.2881 | 10564232 | Mage_Checkout_Model_Session->getQuote( ) | .../Observer.php:85
56 | 0.2883 | 10565176 | Mage_Sales_Model_Quote->loadActive( ) | .../Session.php:127
57 | 0.2898 | 10574656 | Mage_Sales_Model_Quote->_afterLoad( ) | .../Quote.php:376
58 | 0.2898 | 10574656 | Mage_Sales_Model_Quote->collectTotals( ) | .../Quote.php:1907
59 | 0.3169 | 10748976 | Mage_Sales_Model_Quote_Address->collectTotals( ) | .../Quote.php:1331
60 | 0.3184 | 10761720 | Mage_Sales_Model_Quote_Address_Total_Subtotal->collect( ) | .../Address.php:1013
61 | 0.3184 | 10762160 | Mage_Sales_Model_Quote_Address_Total_Subtotal->_initItem( ) | .../Subtotal.php:48
62 | 0.3184 | 10762160 | Mage_Catalog_Model_Product->getFinalPrice( ) | .../Subtotal.php:115
63 | 0.3185 | 10762208 | Mage_Catalog_Model_Product_Type_Configurable_Price->getFinalPrice( ) | .../Product.php:712
64 | 0.3196 | 10763032 | Mage::dispatchEvent( ) | .../Price.php:52
65 | 0.3196 | 10763032 | Mage_Core_Model_App->dispatchEvent( ) | .../Mage.php:448
66 | 0.3196 | 10765616 | Mage_Core_Model_App->_callObserverMethod( ) | .../App.php:1337
67 | 0.3196 | 10765616 | Spranks_ConfigurableTierPrices_Model_Observer->catalogProductGetFinalPrice( ) | .../App.php:1358
68 | 0.3217 | 10765776 | Spranks_ConfigurableTierPrices_Model_Observer->_calcConfigProductTierPricing( ) | .../Observer.php:29
69 | 0.3217 | 10765824 | Spranks_ConfigurableTierPrices_Model_Observer->_getAllVisibleItems( ) | .../Observer.php:51
70 | 0.3218 | 10765824 | Mage_Checkout_Model_Session->getQuote( ) | .../Observer.php:85
71 | 0.3220 | 10766768 | Mage_Sales_Model_Quote->loadActive( ) | .../Session.php:127
72 | 0.3228 | 10776248 | Mage_Sales_Model_Quote->_afterLoad( ) | .../Quote.php:376
73 | 0.3228 | 10776248 | Mage_Sales_Model_Quote->collectTotals( ) | .../Quote.php:1907
74 | 0.3506 | 10950624 | Mage_Sales_Model_Quote_Address->collectTotals( ) | .../Quote.php:1331
75 | 0.3526 | 10963368 | Mage_Sales_Model_Quote_Address_Total_Subtotal->collect( ) | .../Address.php:1013
76 | 0.3527 | 10963808 | Mage_Sales_Model_Quote_Address_Total_Subtotal->_initItem( ) | .../Subtotal.php:48
77 | 0.3527 | 10963808 | Mage_Catalog_Model_Product->getFinalPrice( ) | .../Subtotal.php:115
78 | 0.3528 | 10963856 | Mage_Catalog_Model_Product_Type_Configurable_Price->getFinalPrice( ) | .../Product.php:712
79 | 0.3542 | 10964680 | Mage::dispatchEvent( ) | .../Price.php:52
80 | 0.3542 | 10964680 | Mage_Core_Model_App->dispatchEvent( ) | .../Mage.php:448
81 | 0.3542 | 10967264 | Mage_Core_Model_App->_callObserverMethod( ) | .../App.php:1337
82 | 0.3542 | 10967264 | Spranks_ConfigurableTierPrices_Model_Observer->catalogProductGetFinalPrice( ) | .../App.php:1358
83 | 0.3572 | 10967424 | Spranks_ConfigurableTierPrices_Model_Observer->_calcConfigProductTierPricing( ) | .../Observer.php:29
84 | 0.3572 | 10967472 | Spranks_ConfigurableTierPrices_Model_Observer->_getAllVisibleItems( ) | .../Observer.php:51
85 | 0.3572 | 10967472 | Mage_Checkout_Model_Session->getQuote( ) | .../Observer.php:85
86 | 0.3577 | 10968416 | Mage_Sales_Model_Quote->loadActive( ) | .../Session.php:127
87 | 0.3595 | 10977896 | Mage_Sales_Model_Quote->_afterLoad( ) | .../Quote.php:376
88 | 0.3595 | 10977896 | Mage_Sales_Model_Quote->collectTotals( ) | .../Quote.php:1907
89 | 0.3849 | 11152208 | Mage_Sales_Model_Quote_Address->collectTotals( ) | .../Quote.php:1331
90 | 0.3866 | 11164952 | Mage_Sales_Model_Quote_Address_Total_Subtotal->collect( ) | .../Address.php:1013
91 | 0.3866 | 11165392 | Mage_Sales_Model_Quote_Address_Total_Subtotal->_initItem( ) | .../Subtotal.php:48
92 | 0.3867 | 11165392 | Mage_Catalog_Model_Product->getFinalPrice( ) | .../Subtotal.php:115
93 | 0.3867 | 11165440 | Mage_Catalog_Model_Product_Type_Configurable_Price->getFinalPrice( )
Afternoon,
I have recently installed this module via MagentoConnect on a 1.4.1.1 site and the client had setup a tiered pricing structure on the configurable product.
Upon adding the product to the cart 2x one colour and 1x of another, the full price is being charged for all three until I increase one of the colours to 3 then the discount kicks in.
The product in question is: http://www.swimtec-uk.com/quantum-898-100-memory-17.html
Is there anything that could be causing the issue?
Thanks,
Chris
Hi there,
Thanks for this great extension! Is it possible to make the extension work in the backend ( with manual ordering ) as well? We are using the configurable tier prices on one of the shops we are developing, but it seems that the frontend works as expected, but when the store manager wants to make a manual order the prices are not calculated correct..
Regards,
Marcel
Hello,
I added your tiered pricing extension for configurable products in Magento 1.7.0.2-2 and it seems to be working well. However, I seem to have a small issue with the way the tiered pricing percent savings are displayed. When I go to the front end and select the configurable product options from the drop down; the posted quantity discounts all change from the correct value to “100%”. For example “Buy 36 for $7.00 each and save 30%” changes to “Buy 36 for $7.00 each and save 100%” as soon as I select a configurable option. Perhaps I have not set up the product pricing or configurable pricing correctly. Is the tiered pricing supposed to be entered in the back end on the configurable product page, all the associated simple products or both? I'm not sure if this is an issue or something I am not doing correctly on my end. Thanks for your help!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.