Re: Dynamic Price Updater
To further my earlier post, here is an error message that Firebug gives me in Firefox 2.0.0.2:
prArr[i].p has no properties
http://www.drumfactorydirect.com/dru...8/1410c-9.html
Line 441
and this is the line of code it refers to:
newText += prArr[i]['n'] + (prArr[i]['p'] != 0 ? ' - ' + (showQuantitySB ? quantity + 'x ' : '') + prArr[i]['l'] + prArr[i]['p'].toFixed(2) + prArr[i]['r']: '') + '<br/>';
The PriceUpdater debug has this to say:
SP Onload: Type: always
updSP: Duplicating price, by jove!
Onload quantity: Cart add INPUT discovered (1)
Onload base price: Price found: 12.55
Onload SELECT: Name - id[3] : ID - attrib-3
Onload RAD/CH: Name - id[3] : ID - attrib-3
Onload RAD/CH: Name - id[3] : ID - attrib-3
Onload RAD/CH: Name - id[3] : ID - attrib-3
updateR: *Adj* - Radio - Name: id[1] - Price adjust: 12.55 - Mode:
updatePriceNow: Item: http://www.drumfactorydirect.com/ima...4-10-or-SM.jpg
chrome - Mode: Base - Altering base to 12.55
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined
Hope that helps,
Matt
Re: Dynamic Price Updater
[quote=lankeeyankee;459599]http://musicalinstrumentsource.com/i...&products_id=1
quote]
I had to re-install zencart on this domain, it's my live testbed, so here's the new link:
http://musicalinstrumentsource.com/i...&products_id=1
Matt
Re: Dynamic Price Updater
Excellent mod!
I have a question, though, can you confirm whether or not the Price Updater is functioning with sale items yet? I know that it was in the works but after installing and messing with this mod, i'm finding its not working for me. It could be me though :) But right now its reverting to the original sales price whenever i select an attribute.
http://extremelytropical.com/index.p...products_id=62
thanks!
Sarah
Re: Dynamic Price Updater
Brilliant mod!
Is there a way to add the Price Breakdown to the main page rather than as a sidebox?
Many thanks in advance.
Re: Dynamic Price Updater
I just wanted to thank you Chrome for this. It was just what I needed and works perfectly. Again, thank you.
David...
Re: Dynamic Price Updater
Hello,
I spoke too soon. I am having one problem that I cannot figure out.
All my Attribute Values add up correctly when selected but my base price which is selected under one of the attributes is not carried over to the checkout.
Not sure if this make sense but basically the checkout price is everything selected minus the designated base price.
Any suggestions ?
Thanks,
Re: Dynamic Price Updater
Hi all
And firstly I'm really sorry I've been so negligent of the thread... I've been swamped, but I know there's no excuse
Thanks Matt for that excellent piece of information... I've never installed Lightbox nor considered it to be an issue so I'd never have spotted it... Good call
Sarah, I'm sorry the mod still doesn't support sale items
Still Crazy, great idea! I'll try to build that in
Pinwest, can you provide a URL for me to have a look at? You can PM it to me if you prefer
Thanks to all for your support... Over the next few days (honest this time) I'm going to start a redesign, hopefully with the help of Snorkpants
Dan
Re: Dynamic Price Updater
Hi Dan,
Does this work with 1.3.8? I have the file uploaded and when I change the attribute I get something like this:
Your price: undefined30.00undefined (1)
Re: Dynamic Price Updater
BTW, here goes the debug:
Code:
SP Onload: Type: always
updSP: Price node cloned!
updSP: Node inserted successfully
updSP: Duplicating price, by jove!
Onload quantity: Cart add INPUT discovered (1)
Onload base price: Price found: 95
Onload SELECT: Name - id[14] : ID - attrib-14
Onload SELECT: Name - id[15] : ID - attrib-15
Onload SELECT: Name - id[20] : ID - attrib-20
Onload SELECT: Name - id[12] : ID - attrib-12
Onload SELECT: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
Onload RAD/CH: Name - id[10] : ID - attrib-10
updatePrice: SELECT ID attrib-15 is now NULL
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updatePriceNow: Item: undefined -
updSP: Duplicating price, by jove!
Re: Dynamic Price Updater
Hi Yellow
I haven't had a chance yet to even find a place on the server for 1.3.8 lol
Can you post a link to the site where the Updater is? I know I always ask for this, but it can be much easier to observe the behaviour in situ
Cheers
Dan