-
- adamangel

-
Total Posts: 5
Joined: 2012-05-09
|
Hopefully posting in right place and hopefully someone has a fix. When creating a simple product (style is modern), and doing tier pricing, this works fine with showing the % percentages ex: 20%, 30% discount for the more they buy the more they save. However, when also adding a custom option like “drop down size of item”, it will change all my tier prices to 100%. See screenshot. Looking at the code, the code looks fine where I can see my correct percentages (10%, 20%, 30% etc). The issue lies when adding a drop down box in the custom options. Any ideas?
Buy 10 for <span class="price">$18.00</span> each and <strong class="benefit">save <span class="percent tier-0">10</span>% </strong> <span class="msrp-price-hide-message"> </span>
Image Attachments
Click thumbnail to see full-size image
|
| |
-
- Posted: May 22 2012
-
| top
-
|
 |
 |
 |
|
|
-
- adamangel

-
Total Posts: 5
Joined: 2012-05-09
|
Anyone? Buller?
|
| |
-
- Posted: May 23 2012
-
| top
| # 1
-
|
 |
 |
 |
|
|
-
- brandedbrewsky

-
Total Posts: 2
Joined: 2012-04-24
|
I am having this same exact issue :(
http://brandedbrewsky.com/store/index.php/5139-libbey-16oz-mixing-glass.html
|
| |
-
- Posted: May 23 2012
-
| top
| # 2
-
|
 |
 |
 |
|
|
-
- adamangel

-
Total Posts: 5
Joined: 2012-05-09
|
Nice site brewsky! I’m running 1.7, are you?
I noticed that if I don’t do a “dropdown” type custom config, then it works fine. I’m surprised that this is the only thread on this.
|
| |
-
- Posted: May 23 2012
-
| top
| # 3
-
|
 |
 |
 |
|
|
-
- brandedbrewsky

-
Total Posts: 2
Joined: 2012-04-24
|
Yes. 1.7. I had the whole store built then extensions crashed it. So I am making sure I get everything hammered out before I invest time and energy into product info or theme work. Yeah, I cannot believe no one has ran into this before.
|
| |
-
- Posted: May 23 2012
-
| top
| # 4
-
|
 |
 |
 |
|
|
-
- adamangel

-
Total Posts: 5
Joined: 2012-05-09
|
Anyone else seeing the issue in magento where you configure a tier price and you only get 100% if you enable the custom options for a drop down selection? You can see it here: http://a1embroidery.com/volleyball-tribal.html?SID=a998079fbeeb3adde6b4b014d49564da
|
| |
-
- Posted: May 25 2012
-
| top
| # 5
-
|
 |
 |
 |
|
|
-
- Homeplace Group

-
Total Posts: 4
Joined: 2009-01-26
|
Facing the same issue as well - Can’t figure out how to fix it. I’ve been digging through the core files (\app\code\core\Mage\Catalog\Block\Product\Abstract.php) and I can see that the code in 1.7 is different there from a copy of 1.3.6 I have saved.... but it seems to be doing the same math.
Since we’re getting a value of 100%, I’m inclined to believe that the $price[’price’] code is returning a value of 0. However, I can’t figure out why. Any ideas?
|
| |
-
- Posted: May 25 2012
-
| top
| # 6
-
|
 |
 |
 |
|
|
-
- adamangel

-
Total Posts: 5
Joined: 2012-05-09
|
Can anyone help us?
|
| |
-
- Posted: June 2 2012
-
| top
| # 7
-
|
 |
 |
 |
|
|
-
- awarenessgifts

-
Total Posts: 1
Joined: 2011-05-29
|
I, too, am having this exact problem. But there is another problem that goes along with it. When I place a custom product and a regular product from the same tier group into the basket, it changes the pricing on the NON-custom product to the same price as the custom product. For instance, t-shirts are $18.00 with a $2.00 extra charge for size XXL. If I place a size medium and a size XXL in the basket, it changes the size med to $20.00.
This started happening at the same time I began having the issue that is the subject of this thread so I believe they are related. I would encourage everyone having the “100%” problem to test the issue that I just described.
I cannot launch my website until this is fixed so I’m really hoping that someone will help us soon.
|
| |
-
- Posted: June 4 2012
-
| top
| # 8
-
|
 |
 |
 |
|
|
-
- nagpalanuj

-
Total Posts: 3
Joined: 2011-03-14
|
I have proper solution for this problem....
Hire me on my Odesk profile: https://www.odesk.com/companies/Info-Management_~~6eccf1c0e724ee86
Here is sample: http://brandedbrewsky.com/store/index.php/5139-libbey-16oz-frosted-mixing-glass.html
And you can see in this user in this thread hired me, now problem has resolved.
Looking forward to work with you and assist you with my service.
Thanks
|
| |
-
- Posted: June 6 2012
-
| top
| # 9
-
|
 |
 |
 |
|
|
-
- WetFlam

-
Total Posts: 25
Joined: 2011-06-16
|
Still no resolution other than the guy using a magento bug as his advantage? Supposed to be a open source community. Where the hell is magento in all this???????? They cant chime in on fixing their own product?????? Unbelievable......
|
| |
|
 |
 |
 |
|
|
-
- WetFlam

-
Total Posts: 25
Joined: 2011-06-16
|
Found a temporary solution that appears to be working.
go to /js/varien/product.js
look for
for (var i = 0; i < this.tierPrices.length; i++) {
replace with
for (var i = 3; i < this.tierPrices.length; i++) {
OR whatever number of tiers you have. I have 3 tiers in my pricing so I changed my var i = 0 to var i = 3 if you have 15 tiers than change the 0 to 15. Only way I was able to get it to work. I’m sure there is something different that can be changed to also work instead of it being distinctive to a particular site but that was the best i could figure out considering I am no coder.
|
| |
|
 |
 |
 |
|
|
-
- emamaailm

-
Total Posts: 1
Joined: 2012-08-13
|
Hi. Same problem here.
Bugs everywhere..
|
| |
-
- Posted: August 14 2012
-
| top
| # 12
-
|
 |
 |
 |
|
|
-
- clivio

-
Total Posts: 1
Joined: 2011-11-28
|
I would not suggest using the the method of jumping the array to the end of your list of options. If you do this then it is no different from completely commenting out the line anyways. If the array is not able to be processed then it will not adjust for different prices for custom options like colour or size. There must be a problem in the /base/template/catalog/product/view/options.phtml.
|
| |
-
- Posted: September 24 2012
-
| top
| # 13
-
|
 |
 |
 |
|
|
-
- rebl00ded

-
Total Posts: 2
Joined: 2012-02-29
|
Well, that was a massive pain in the @$$!? To fix this problem you simply need to remove Math. from ‘product.js’. You can find it in “your-magento-directory/js/varien/product.js”. The line in question is: 767; remove ‘Math.’ from that line leaving everything else - it should look like this
el.innerHTML = ceil(100 - ((100 / price) * tierPrice));
when you’re finished. Thats it. It’s all fixed.
Considering the Math. function, in this case, is not rounding, min-ing, or max-ing, it server little to no purpose here. Javascript can clearly understand ceil(); so I guess I’m not sure why the developers at Magento decided to implement this way. Either way, if you remove the Math function your tiered pricing should work.
Have a great day!
-Josh
|
| |
-
- Posted: October 16 2012
-
| top
| # 14
-
|
 |
 |
 |
|
|
-
- sashatronics

-
Total Posts: 1
Joined: 2012-10-01
|
Easy fix, i think i saw it somewere.
But on js/varien/products.js line 748 make changes:
this ---->
for (var i = 0; i < this.tierPrices.length; i++) {
tho this ---->
for (var i = 0; i > this.tierPrices.length; i++) {
all works fine for me..
|
| |
-
- Posted: October 26 2012
-
| top
| # 15
-
|
 |
 |
 |
|
|