Re: Dynamic Price Updater
Quote:
Originally Posted by
MARCOJIMJ
I'm looking for a "custom product" mod where the customer can select material, grade, & thickness, then enter length, and width. the mod would then calculate price and weight based on material and grade related properties and then send it to the order. Does this exist??? Thanks P.S. as a newbie this is driving me Wacko.:wacko:
Have you looked at using the attributes controller in the admin panel? We use attributes for various options and once selected and added to the cart it will adjust the price. Sounds like you would need to use text attributes for the length and width unless you created a dropdown list for those. The dynamic updater will update the price on the product info page. I think you would have to custom program the weight update calculation based on the options chosen, or perhaps you can set up individual products for different length and widths and set the weights normally for each one. Not as elegant perhaps but easier(and cheaper if you have to hire someone) to implement.
If you haven't already done so, I would highly highly recommend buying the book eStart Your Web Store With Zen Cart, there is a link in here somewhere. It is a great resource for basic ZC setup including attributes. I found it very helpful and still refer back to it now and again to double check something.
Updater not showing price
Hi Chrome and all savvy updater people,
I'm sure my problem is just some small tweak I've overlooked, so maybe someone can help me. I've installed the updater, but the price doesn't show at all, nor does the sidebox.
My products have $0.00 price. The price is based off the attributes. I have radio buttons, dropdown menus, and text boxes. Some of them increase the price, some of them do not. I've taken off the + sign from my attribute pricing. I also do not have any price currently showing (I've taken off the "starting at:" price).
I have made some changes to the tpl_product_info_display, but I tried the original file and that didn't fix the problem.
I've tried adding a base price, putting the + sign back on, displaying the original price, and everything else I can think of to get it to show up. I've double checked the folder I originally placed the file in, and it's correct. What am I missing? Am I supposed to include some code in my product info display page?
Here is my test link: http://welcomingwalls.com/index.php?...roducts_id=181
Thank you in advance for the help,
Kim :no:
More info for the above post
Just a bit more info on my problem I just posted:
I am using the lasted version of Zencart.
I don't have the Lightbox add-on, just IH2 and the Column Layout Grid.
I checked in both IE7 and Firefox, and neither are working.
Thanks,
Kim
Re: Updater not showing price
Quote:
Originally Posted by
WriteAtHome
Hi Chrome and all savvy updater people,
I'm sure my problem is just some small tweak I've overlooked, so maybe someone can help me. I've installed the updater, but the price doesn't show at all, nor does the sidebox.
My products have $0.00 price. The price is based off the attributes. I have radio buttons, dropdown menus, and text boxes. Some of them increase the price, some of them do not. I've taken off the + sign from my attribute pricing. I also do not have any price currently showing (I've taken off the "starting at:" price).
I have made some changes to the tpl_product_info_display, but I tried the original file and that didn't fix the problem.
I've tried adding a base price, putting the + sign back on, displaying the original price, and everything else I can think of to get it to show up. I've double checked the folder I originally placed the file in, and it's correct. What am I missing? Am I supposed to include some code in my product info display page?
Here is my test link:
http://welcomingwalls.com/index.php?...roducts_id=181
Thank you in advance for the help,
Kim :no:
I don't see where your price is supposed to display? Can you provide a screenshot of the page without the updater to get an idea of how it looks?
When the attribute price is $0, did you make it $.0001 in the attributes controller? You have to or it won't work. And, you can only have one set of attributes without the +, all others have to have the + to work, so I have found that it's best to use the no + attribute for the main one and the ones below have the +, even if it doesn't add to the price it still has to show +$0.00 or it won't work.
I'm sure we can get it working correctly, just need to figure out your setup and then take it from there.
BTW, your layout is broken in FF3 on XP. the main column overflows into both sideboxes, an easy fix in your CSS.
Re: Dynamic Price Updater
Hi, there is a problem with the default currency symbols
if there is no ":" in TEXT_BASE_PRICE in yourlanguage.php, Dynamic Price Updater do not work.
To fix this problem find
Code:
// try and find the default currency symbols
var temp = origHTML.match(/.*:\s*([^0-9 ]*)([0-9.,]+)(.*)/);
and change to
Code:
// try and find the default currency symbols
var temp = origHTML.replace(/<?echo(TEXT_BASE_PRICE);?>/g,''); //NEW filter for TEXT_BASE_PRICE
temp= temp.match(/s*([^0-9 ]*)([0-9.,]+)(.*)/);
web28
Re: Updater not showing price
Quote:
Originally Posted by
lankeeyankee
I don't see where your price is supposed to display? Can you provide a screenshot of the page without the updater to get an idea of how it looks?
When the attribute price is $0, did you make it $.0001 in the attributes controller? You have to or it won't work. And, you can only have one set of attributes without the +, all others have to have the + to work, so I have found that it's best to use the no + attribute for the main one and the ones below have the +, even if it doesn't add to the price it still has to show +$0.00 or it won't work.
I'm sure we can get it working correctly, just need to figure out your setup and then take it from there.
BTW, your layout is broken in FF3 on XP. the main column overflows into both sideboxes, an easy fix in your CSS.
Thank you lankeeyankee for the guidance. I made the changes you suggested and the price updater actually shows up now! Wahoo! But, it doesn't update the prices.
Here's my link again: http://welcomingwalls.com/index.php?...roducts_id=181
I will go over this thread again for others with the same problem and try to find a solution. Otherwise, if you have any more good suggestions, I would be happy to hear from you.
BTW, I was in the middle of messing with my divs when you found my firefox issue. It's fixed now :wink:
Re: Dynamic Price Updater
at WriteAtHome
Quote:
(I've taken off the "starting at:" price).
Thats may be the problem. In your define TEXT_BASE_PRICE is no ":" and the Price Updater don't work.
Change the code with my fix.
web28
Re: Dynamic Price Updater
Thank you Web28, you were right on target with the "colon" thing. Now I've got the updater working for the first attribute which is the size. The second attribute is free. But for the third attribute where I add $3.00 for the extra color choice, the updater isn't adding it at all.
I changed the sort order of the third attribute to the first one and it still doesn't work, but the size attribute still works as third in the sort order. So, I know it specifically has to do with the settings in that particular attribute. All my attributes are radio buttons, so I know it doesn't have anything to do with that.
I'm sure it's just another little thing I've overlooked. Any other suggestions would be most welcome.
Here's my website again: http://welcomingwalls.com/index.php?...roducts_id=181
Thank You!
Re: Dynamic Price Updater
Quote:
Originally Posted by
WriteAtHome
Thank you Web28, you were right on target with the "colon" thing. Now I've got the updater working for the first attribute which is the size. The second attribute is free. But for the third attribute where I add $3.00 for the extra color choice, the updater isn't adding it at all.
I changed the sort order of the third attribute to the first one and it still doesn't work, but the size attribute still works as third in the sort order. So, I know it specifically has to do with the settings in that particular attribute. All my attributes are radio buttons, so I know it doesn't have anything to do with that.
I'm sure it's just another little thing I've overlooked. Any other suggestions would be most welcome.
Here's my website again:
http://welcomingwalls.com/index.php?...roducts_id=181
Thank You!
You need to put a price for the 6", you'll notice that if you select one of the other sizes it will change the price as expected but then go back to the 6" and the price stays at the last size's. This may be what is needed to make the third set of attributes work correctly. Also, you might want to make the 6" size the default selected like the other 2 option sets have. Let me know how it works after you add the price to the 6".
Re: Dynamic Price Updater
Question on updater:
I am looking for a utility or MySQL code that will set all prices for all products to a set percentage above wholesale price. Also looking for a way to record wholesale prices in the databse along with a user defined formatted catalog ID number.