Product Option Price Display
Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=5427
Printed Date: 21-November-2024 at 4:50pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Product Option Price Display
Posted By: avalight
Subject: Product Option Price Display
Date Posted: 11-January-2013 at 2:05pm
Hi People I don't like the way the product option prices are displayed when there is an extra charge for that option. I am wondering if anyone has a suggestion to change the way the adder price is shown on the product page. The way it is shown now is dumb. When there are two or more options, the extra charge amount doesn't show up in the option drop downs until the last option is selected and even then, the amount shown is the combined extra charges for all the previously selected options, rather that what the adder is for just that one option group. I don't mind that the final price doesn't change until the last option is selected, it is the individual extra charges that I want to see for each option group.
Here is an example page: http://www.modernclassics.com/store/pc/Le-Corbusier-LC3-Grande-Loveseat-Reproduction-10p11.htm" rel="nofollow - http://www.modernclassics.com/store/pc/Le-Corbusier-LC3-Grande-Loveseat-Reproduction-10p11.htm
Maybe there is somewhere in the forum that has covered this, or if anyone has created a modifcation or can tell me where this information can be seen in the code. I know the information is in the data base, because we enter on the product option page...
Thanks Curt
------------- Curt
|
Replies:
Posted By: Greg Dinger
Date Posted: 11-January-2013 at 2:11pm
Have a look at this Curt
http://www.ahamodernliving.com/store/pc/Roost-Flower-Frogs-Glass-Vases-2p368.htm" rel="nofollow - http://www.ahamodernliving.com/store/pc/Roost-Flower-Frogs-Glass-Vases-2p368.htm
------------- GreyBeard Design Group
Certified ProductCart Developer
Web Design/Development/Hosting
http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |
|
Posted By: avalight
Date Posted: 11-January-2013 at 2:32pm
Hi Greg Yes, I did see that forum post. We have two and three product option groups on a single product. And each option can be an extra charge. But, the extra price on one option selected is not dependent on the previous options selected. Seems easy to fix, but what do I know
------------- Curt
|
Posted By: avalight
Date Posted: 11-January-2013 at 3:06pm
I realize that since every Sub Product is it's own record in the database, the actual price isn't available until the final Option Attribute is known. Only then do we know the final Sub Product Price. In my case, if the Customer selects Red Leather in the top Option Group, but nothing after that... the Price cannot be displayed (since we don't know what the Customer will select for the Feather Top or the Leg)
However, the situation I describe is different. Each product option adder price is independent of the other. So I want the adder price to be displayed in the drop down box for each separate option. The final price is shown after all the options are selected , is just fine. But along the way, I want the customer to know that the premium leather is extra $$, and the legs are extra $$, and the feathers are extra $$, all information I put in the option box in the admin panel. The final price is the summation of the three options, which is then displayed. But the way it is now, the final extra $$ is summed on the last option display drop down. The customer is left scratching their head, wondering why the extra legs cost so much more, when it is the premium leather that made the price go up.
PC has been this way forever, doesn't make it a good way to do it. How do I solve?
------------- Curt
|
Posted By: Greg Dinger
Date Posted: 11-January-2013 at 3:06pm
what if one simply takes away the options prices and you rely upon when one clicks, the final price display is updated?
------------- GreyBeard Design Group
Certified ProductCart Developer
Web Design/Development/Hosting
http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |
|
Posted By: avalight
Date Posted: 11-January-2013 at 5:54pm
Well, I would like to show the visitor that a particular choice costs more. For example, we have 15 leather colors, only 5 of them are premium. So when the visitor does the drop down to look at colors, these see that some are addtional prices.
------------- Curt
|
Posted By: Hamish
Date Posted: 11-January-2013 at 7:41pm
Hi, It sounds like what you are after is much better matched by a BTO product setup, where the the individual "components" of a product have a price and are shown. As a BTO product the premium leathers would be shown with their price difference individually as would any other component/element influencing the price. Give it a try on one of our demo stores.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: avalight
Date Posted: 11-January-2013 at 7:44pm
Hmm, don't know if I can handle the switching costs. Is this an add-on, or all new install?
------------- Curt
|
Posted By: Hamish
Date Posted: 11-January-2013 at 8:53pm
Hi, It's an upgrade. See https://www.earlyimpact.com/productcart/buy-productcart.asp for pricing. I would test it out on a demo store if I were you and see what you think. One difference is that in Apparel every final product has a single specific SKU, in BTO the final product is a collection of parts, (Seat / Leather / Filling / Feet in this case). I suspect that is not a major issue though as items like this are more often than not actuallyy built (or assembled) to order rather than being held in stock.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: Guests
Date Posted: 11-January-2013 at 9:48pm
Curt asked me to weigh in on this.
The way apparel products are handled vis a vis sub-products (where each sub-product is the combination of options in one "bucket" as it were), and the additional price for that combination of options is stored in the sub-product record, I don't see where it's really possible to break down what each individual option is adding to the over-all price ... through I do see the confusion this causes for the user.
It seems to be that it wouldn't be too terribly challenging to do this as a merchant-specific customization IF it were the case that the additional price for any given option could be pulled from the options in the applicable option groups. The potential problem here is that this would mean that, say, Option Group A, option 1 would always have the same additional cost no matter which apparel product used it. For example, every product that had the price sensitive option of "Tall Feet" would always have to add the same price for that option. This would make it the same as non-apparel products with options that change price (at least in terms of the display in the drop down selects).
The JavaScript here is pretty complex, though, so I don't see it as something simple to accomplish ... but nothing near as expensive and complicated as upgrading to BTO and then having to reconfigure all of the products this would apply to. However, putting that aside, it does seem to me that these products would be nicely suited for the BTO version.
|
Posted By: avalight
Date Posted: 12-January-2013 at 2:04am
Hello - I guess I must be really missing something here...when I go to a product options for a product in the admin panel, I enter in for each attribute, a price and a wholesale price. If I only have one option group for a product, then this number appears on the frontend product page "add - $98" - very clear and nice. This number is coming from this product option page in the admin. If there are two option groups for a product, you can specify price for each attribute too. BUT, when you go to the product page, both those numbers are added together and only shown on the second option group.
It seems to be that it wouldn't be too terribly challenging to do this
as a merchant-specific customization IF it were the case that the
additional price for any given option could be pulled from the options
in the applicable option groups. | So Sean, the additional price for any given option is there in the setup for each product, it just needs to be shown alongside each attribute with an additional price value, in each option group, and not be summarized in the last option group, but added to the base price once all the options are selected.
Upgrading to BTO is not going to happen for me. Thanks
------------- Curt
|
Posted By: Guests
Date Posted: 12-January-2013 at 2:08pm
Hi Curt,
Sorry: long week. I didn't get that quite right.
The prices set at the Option Attribute level (and stored in the options_optionsGroups table) can be used to set pricing on sub-products (stored in the products table) when sub-products are batch generated, they are not actually used for anything else -- not the display of options on the product page nor the calculation of price. Those two things come from the sub-products.
Here's a little test you can do: Change the price of an Option Attribute assigned to one of these apparel products. View the product page, and you'll see no change. Now change the pricing for a sub-product of that product, view the product page, and you will see the change.
So, what would need to be done is to pull the price of the Option Attribute for apparel products (options_optionsGroups.price) -- as it is done for standard products -- to appear in the display of option items, but leave the rest of the price calculation and display as they are handled on apparel products (standard products don't dynamically change the price when price sensitive options are selected).
In theory this sounds pretty simple. However, in practice there is a labyrinth of JavaScript to sort through to do it.
|
Posted By: avalight
Date Posted: 12-January-2013 at 3:54pm
Yes, Sean, you got it now! Put the price of the Option Attribute in the display of the option items. Simple concept. Someone want to PM a quote for this? Thanks!
------------- Curt
|
Posted By: avalight
Date Posted: 20-January-2013 at 5:08pm
Thanks to Sean at WMS for solving this problem! Here is what the page now looks like: http://www.modernclassics.com/store/pc/Le-Corbusier-LC3-Grande-Loveseat-Reproduction-5p11.htm" rel="nofollow - http://www.modernclassics.com/store/pc/Le-Corbusier-LC3-Grande-Loveseat-Reproduction-5p11.htm
You can see the base price, then when you look at each option, you can see how much that will add to the price. Then, when the final option is selected, the Price as Configured is updated and turns to green.
This makes me very happy, and I think the site visitors will finally understand that how the option pricing works! See Sean for help on this, meanwhile, to the folks at ProductCart, this is a good solution.
Best
------------- Curt
|
Posted By: Brett
Date Posted: 21-January-2013 at 4:15pm
It might be that I'm on the mobile site, but this product looks how you described in your earlier post. It appears premium leather is a $250 up charge, while feather pillow is $180. However, the individual dropdowns show no price. Instead, the price of the first two options is summed and displayed in the third option dropdown. http://www.modernclassics.com/store/m/viewPrd.asp?idproduct=19&idcategory=36
|
Posted By: avalight
Date Posted: 21-January-2013 at 7:11pm
Hi Brett Yes, I haven't made the change to the mobile site, in fact, didnt even occur to me. So thanks for the heads up. (However, the mobile version shows how goofy the dollars are shown under the standard apparel plug-in). We are working to make this work when a visitor is a wholesale account too. Thanks
------------- Curt
|
Posted By: Brett
Date Posted: 21-January-2013 at 11:10pm
I can't imagine it being a very difficult change. Seems like you could leave the logic the same and just show the per item prices in the drop down. I may be overlooking something though.
|
Posted By: Guests
Date Posted: 22-January-2013 at 12:15am
Not sure what you are referring to exactly, Brett.
Switching up the display this way in general is not trivial. There's a fair deal of server-side logic and client-side logic to pick through and CSS to add to do this elegantly.
Doing it again for the mobi version is simple enough, though. Most all of the code to change is the same.
I have it demoed on both the full and mobi version of our infamous Ducky demo site now, including display for Wholesale & Customer Pricing Category users: http://pc46a-wms-net.3060.wmsmerchantservices.com" rel="nofollow - http://pc46a-wms-net.3060.wmsmerchantservices.com
The JavaScript for Apparel products is quite a labyrinth. Turns out handling this issue wasn't so bad as I was fearing from experience modifying other display options here, though.
|
Posted By: Brett
Date Posted: 22-January-2013 at 1:22am
I was referring to, on the option drop down, inserting the prices of the options from the config, and then leaving all of the logic the same. So just changing the name of the options, and not the way prices are added. So where it says "Premium Leather", changing that to for example, "Premium Leather (+$250)", and then leaving everything else the same. That way, prices are calculated the same, but the customer can see how much each option costs.
|
Posted By: Guests
Date Posted: 22-January-2013 at 2:35am
Hi Brett.
On the surface, it would seem that simple (I expect that's what Curt was thinking/hoping).
But these innerHTML's are rewritten on the fly on APP product pages.
It's not trivial to modify the server-side and client side code here and to balance the CSS to do this.
I've had a good deal of experience working with changing up the display of APP product pages. The real kicker for me was the "Gap.com Style Color/Size Selectors" project I've been working on. Ultimately, there was no way to edit the PC code gracefully here, so I added a "remote control" layer over it that let's PC do it's thing and then "re-visualizes" it on a display layer. Here's an example with just the size part of it: http://www.kickypants.com/shop/pc/viewPrd.asp?idproduct=37914&idcategory=61" rel="nofollow - http://www.kickypants.com/shop/pc/viewPrd.asp?idproduct=37914&idcategory=61
Haven't had time or demand to get back to the color option part of it yet, though.
|
Posted By: Brett
Date Posted: 24-January-2013 at 11:32pm
Was this issue fixed in v4.6b? I just added a test product and it appears to be showing the option prices correctly for all groups: http://www.liftchair.co/Test-Product-Options-33p30.htm
|
Posted By: Brett
Date Posted: 24-January-2013 at 11:34pm
Actually it appears this test product isn't showing the updated total like on avalight's site. Is that a customization or a feature I've forgotten to enable?
|
Posted By: Hamish
Date Posted: 25-January-2013 at 1:20am
Brett, If your running V4.6b then your not comparing like with like, but you can get the behaviour your after by configuring the product as a BTO product and IMHO this is a better solution. Avalights store is running the apparel product add-on and I suspect to switch to BTO a very large number of products would have needed to be re-entered. As Sean has pointed out already, although apparel sub-product prices can be generated from the option prices there is no permanent link as the sub-product prices can also be set or edited separately. As although Premium White Leather may be $250 and feather cushions $150 it may not necessarily be true that a sofa with Premium White Leather and feather cushions is $400 more than the base price. This gives store owners maximum flexibility over pricing, but also means we don't know the SKU or price until all the options are selected. I don't know the details of Seans mod but I suspect it relies on sub-product prices being strictly based on the option prices and as long as Avalight ALWAYS generates the sub-product prices from the option prices everything should look OK.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: Guests
Date Posted: 25-January-2013 at 1:48am
Hamish wrote:
I don't know the details of Seans mod but I suspect it relies on sub-product prices being strictly based on the option prices and as long as Avalight ALWAYS generates the sub-product prices from the option prices everything should look OK.
|
Hi Hamish,
Yes, indeed this is exactly the case. I made sure that Avalight was clear on this, and indeed, they never ever adjust pricing at the sub-product level, but always does do by generating or regenerating from the options.
In their case that Premium White Leather may be $250 and feather cushions $150 and that this combo always adds exactly $400 to the base price, on every APP product with these options.
I definitely see why EI's release is the way it is, and I definitely see where Avalight's customers get confused (and confusion is deadly in ecommerce, right?). That is to say that I don't think what I've worked up for him would suggest any difference in approach from EI's release, nor even that this would make any kind of reasonable generic add-on for PC (when we do an add-on, it has to apply to all possible standard PC options; else, really it's just a customization "hack" the way I see things). It could, however, be a "hack" that some folks, in Avalight's exact situation, might like to employ though.
Oh, and yes, ideally speaking I think a catalog like Avalight's would be better served with a solution like BTO, but yes again, the reality is that's not an option they're wanting to pursue ... not the least of which is because it would require a huge overhaul of product data. That would be far more complicated than this hack which seems to suite them quite nicely now.
PS: I'm mostly leaving this as a recap for others who might find it helpful down the road -- esp. anyone on the fence about whether to go BTO or just Apparel add-on at the outset for product constructions such as this.
|
Posted By: Brett
Date Posted: 25-January-2013 at 3:09am
Hey Hamish, I wasn't intending to imply that I was comparing like with like, in fact quite the opposite. I was wondering whether the functionality to display prices on the drop downs for standard product options was added in 4.6, which appears to be the case.
Additionally, I was wondering whether the functionality to display a configured subtotal for standard products was originally a standard feature which was removed in 4.6, or was a customization made to avolights store by Sean (or the apparel addon), which also appears to be the case.
I totally agree that BTO products are probably the best way to achieve this functionality, I was just wondering about those two things. At any rate, my questions have been answered. Thanks Hamish and Sean.
|
Posted By: Guests
Date Posted: 26-January-2013 at 2:41am
Thanks for weighing in with your ideas on this, Brett.
Ideally, BTO would be the better solution for this sort of thing; however, we've come up with an elegant "hack" for APP for those (like Curt @ Avalight) who might need to fall back on it.
It's a benefit to the entire community here to have great minds weighing in and kicking around ideas & alternatives.
PM me with your email and phone number if you'd like me to corroborate your BTO test issue.
|
Posted By: Hamish
Date Posted: 26-January-2013 at 3:24am
Hi Brett, Did you set up your test product as BTO? If so then I suspect a javascript conflict if the total is not being updated. From what I remember from when I looked at it I think it was a standard product with options.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: Brett
Date Posted: 26-January-2013 at 5:39am
The product was a standard product. The configured total is showing up for BTO products. I noticed that in avolights example, standard product options were updating a configured total, something I thought was only available on BTO products. That's why I thought it was odd that avolights standard products with options were showing a configured total. It turns out this was either due to a customization by Sean or a feature of the apparel addon.
|
Posted By: Brett
Date Posted: 26-January-2013 at 5:46am
Sean@WMS wrote:
Thanks for weighing in with your ideas on this, Brett.
Ideally, BTO would be the better solution for this sort of thing; however, we've come up with an elegant "hack" for APP for those (like Curt @ Avalight) who might need to fall back on it.
It's a benefit to the entire community here to have great minds weighing in and kicking around ideas & alternatives.
PM me with your email and phone number if you'd like me to corroborate your BTO test issue.
|
I'm not sure if I've been much help in this case actually. I saw the original post and went about trying to tinker with it, only to find that the functionality had already been made standard in 4.6 (in terms of showing price on each option drop down for standard products). It seems that a configured total isn't standard in 4.6, but that is already solved with the customization you made (or the apparel addon? I don't know which) to avolights store. I use BTO products anyways, and so have no need to incorporate configured totals to my Standard products. I'm a novice at best, but I like to think I'm capable of customizing things to suit my needs.
|
|