Hi
That is odd
Um, the best I can say is that I'll have a look tomorrow... I'm possibly wobbly
I apologise once again for my lack-of-being-any-good-icity
Dan
Printable View
Hi
That is odd
Um, the best I can say is that I'll have a look tomorrow... I'm possibly wobbly
I apologise once again for my lack-of-being-any-good-icity
Dan
Chrome,
Ok, I noticed THIS. Open up the website: http://div8hardware.com/index.php?ma...roducts_id=566
Open ONE in Firefox, and open it again in Internet Explorer
Firefox shows the "dropdown" Hrz Nav bar, as well as our Logo in the header, but in the ADD TO CART tab, there is no Price Updater showing.
In I.E., the "dropdown" Hrz Nav does NOT drop down, and our LOGO is not showing. However, the good news is the Price Updater is showing and working.
I don't understand why some work in one and not the other
Help, from anyone please!
thanks,
Paul
Chrome,
If you have a moment...do you know how your updater could be modified to update the product listing page. I have another modification that I'm working with that will put the attributes on the product listing page but I wanted to be able to use the dynamic updater as well.
sample http://ameribestfasteners.com/catalo...=index&cPath=1
thanks
Paul
I have had some usability testers report mild confusion regarding the way the quantity is displayed next to the updated price since it's just (1) or whatever number. I changed it to display (1 item) or (2 items) etc. I added a conditional to display (item) if the quantity is 1 and (items) for all other quantities. Here's what I did:
On line 296 change:
to:Code:document.getElementById('productPrices').innerHTML = '<?php echo UPDATER_PREFIX_TEXT; ?>' + l + addCommas(newPrice) + r + (showQuantity ? ' (' + quantity + ')' : '');
You can change the text to anything that you want. For instance, you could change it to display (Quantity x) by changing line 296 to:Code:if (quantity == 1) {
document.getElementById('productPrices').innerHTML = '<?php echo UPDATER_PREFIX_TEXT; ?>' + l + addCommas(newPrice) + r + (showQuantity ? ' (' + quantity + ' item)' : '');
} else {
document.getElementById('productPrices').innerHTML = '<?php echo UPDATER_PREFIX_TEXT; ?>' + l + addCommas(newPrice) + r + (showQuantity ? ' (' + quantity + ' items)' : '');
}
Thanks again to Dan the Man for this most excellent of mods!!!Code:document.getElementById('productPrices').innerHTML = '<?php echo UPDATER_PREFIX_TEXT; ?>' + l + addCommas(newPrice) + r + (showQuantity ? ' (Quantity ' + quantity + ')' : '');
Cheers, Happy Christmas and Merry New Year!!:laugh:
I was able to get the attributes to work on the product listing page but I am still stuck on getting it to work with the dynamic updater. Anyone have any ideas?
Here's the attribute/product listing modification
http://www.zen-cart.com/forum/showth...t=98641&page=2
Thanks,
Paul
Ok I have gotten a little further but it still doesn't change yet. I have gotten it to the point of return the debugging messages and it says it is updating but it isn't actually effecting anything.
Paul
Hi - I am trying to use the price updater with the stock by attributes dynamic drop down menus..here is the example page:
http://www.coyuchi.com/shop/index.ph...products_id=12
The price updater is working, but it is somehow interferring with the dynamic drop downs from updating in sequencial order to reveal the attributes for color and size. I have set the product to have no base price and the lowest attribute to $.001.
Below are warning messages I got from Firefox 3.0.5 error console on Mac. (I don't necessarily think these warning are breaking the other script, but thought I'd include them just in case).
I will message the other mod author too, just thought I would try to see if there was anyone here that might have some advice.
Warning: reference to undefined property stk[frm['id[6]'].value]
Line: 623
Warning: assignment to undeclared variable nameArr
Line: 52
Warning: test for equality (==) mistyped as assignment (=)?
Line: 123, Column: 50
Source code:
if (temp[i].className = 'productSpecialPrice') {
If I can figure out how to do an example without the updatrer blocking the dynamic drop downs I will post link...sorry, fairly new to zen cart..thanks for your help...
Hi - here is an example of the same product as in my other post, but it has the base price set at zero as well as the lowest attribute, which for whatever reason, makes the price updater mod not work and lets the drop downs do their thing...
http://www.coyuchi.com/shop/index.ph...products_id=11
I've read all of the posts regarding the price updater and even installed the script. Although it's something long overdue in the cart, and something wonderfully oversimplified, there is a HUGE problem that is intrinsic with Zen-Cart that is still not addressed.
The obnoxious "+" accompanied with the dollar figure is absolutely 'in the way' of the pricing. If there were a method to simply 'hide' the plus sign and the accompanying dollar amount that would make developers "and" customers happy.
Here's the problem. Customer, like it or not, are not as computer savvy as we would like. They look at the numbers and the plus sign and get confused. Look at http://www.peninsulaoutfitters.com/s...roducts_id=183 . The "Product Priced by Attributes:" is of no value. If it's off, the "price updater" script won't work. If the plus sign is eliminated and the price in the attribute is entered in place of the 'additional' sum, the "price updater" won't work.
Bottom line, unless the plus sign, additional sum 'and' the "Product Priced by Attributes:" are all working in tandem the "price updater" script won't work.
The easy solution, although I'm not saying I have figured out how to make the alteration, is to simply 'hide' the plus sign and accompanying dollar increase so that the pull-down menu only has the item displayed like http://www.peninsulaoutfitters.com/f...freestone.html . It's basically the same JavaScript that is used, but the option value is not revealed. Can't Zen-Cart hide the option value somehow?