♥JcMagpie Posted February 24, 2019 Share Posted February 24, 2019 Anyone got to the bottom of why we get this odd display when a product with options is added to the cart without selecting an option! It's like this on BS3 Frozen and BS4 edge. Cart shows empty but you still get mixed message. Or have I missied a bug fix update? Link to comment Share on other sites More sharing options...
Hotclutch Posted February 24, 2019 Share Posted February 24, 2019 i rarely use options and noticed that, but forcing the user to make a selection will circumvent that. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 24, 2019 Author Share Posted February 24, 2019 Yes that fixed it. Thanks. Link to comment Share on other sites More sharing options...
BrockleyJohn Posted February 25, 2019 Share Posted February 25, 2019 The core code doesn't get you into this position because you have to choose an option on the product page. Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 25, 2019 Author Share Posted February 25, 2019 20 minutes ago, BrockleyJohn said: because you have to choose an option on the product page. I'm confused, the options were set to Enforce Selection false so it was giving this mixed display. Swithched to Enforce Selection true and display now ok. Not my shop as I never make use of options, I allways simply add any variant as a another product. I think it's down to confusion on how to use options. The example used is, Car comes in black as standerd, this is the product car black £9999.00 It's also avilable as a optional extra as Metalic Black on special order for an aditional £900.00 So shop owner adds black car as normal product and add's optional Metalic Black paint as a option. Hence they do not wish to force option selection "after all it's just a option" So with Enforce Selection false the product can not be added to cart and you get odd display on page. So it look like they have to make the product and add 2 options 1) Black at zero cost 2) second option as Metalic Black at the aditional cost. Then to make shoping simple and to avoid lossing sales from customers who do not realise they have a drop down to pick option even if they are not intrested in an option! You must set Add Helper Text to "FALSE" this then allows the product to be added directly into cart by customer without having to do anything with drop down. Guess they just have to do a little more work to add products with options. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 25, 2019 Author Share Posted February 25, 2019 Well that did not work either as if you do set more than one option it look's like the customer still has to use the options drop down as options with zero cost are not selected as default. So setting Add Helper Text to "FALSE" will not help and could result in many wrong orders as customers who fail to spot the option will add the paid option to cart by default. So you must still use drop down to add normal product to cart. Link to comment Share on other sites More sharing options...
puddlec Posted February 25, 2019 Share Posted February 25, 2019 order by pa.options_values_price Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 25, 2019 Author Share Posted February 25, 2019 Clearly I'm missing somthing basic on this one, This shows a card available for £299.99, but customer can never buy at £299.99 as the only way to add to cart is to select and option! All of which add to displayed cost? Only way to buy at £299.99 i to make 2 new options both set to zero cost. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 25, 2019 Author Share Posted February 25, 2019 4 minutes ago, puddlec said: order by pa.options_values_price So change to code or have I missed a setting in admin? Link to comment Share on other sites More sharing options...
puddlec Posted February 25, 2019 Share Posted February 25, 2019 2 minutes ago, JcMagpie said: So change to code or have I missed a setting in admin? i added that code, to the query on line 60, and it will sort by the price so the cheapest would be the first option, instead of what order they were entered in. Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 25, 2019 Author Share Posted February 25, 2019 Ok thanks that makes more sense, I'll let the user know and they can do that if they still wish to use the options. Link to comment Share on other sites More sharing options...
Hotclutch Posted February 25, 2019 Share Posted February 25, 2019 1 hour ago, BrockleyJohn said: The core code doesn't get you into this position because you have to choose an option on the product page. If you know what's causing it, care sharing it with the rest of us? It does look like this is default behaviour on a stock install. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 25, 2019 Author Share Posted February 25, 2019 So got it to a usable state where shop is happy with using options. First add as @puddlec stated order by pa.options_values_price to query on line 60 in public_html/includes/modules/content/product_info/cm_pi_options_attributes.php Then turns to "FALSE" in admin both Enforce Selection and Add Helper Text , then in options add " No Options Required " as a value in options and apply it to each product. You then can add the stock product directly into cart without having to touch the options select. I would think this is a change that should be made as putting a product on your site at a price that the customer can never purchase could land you in could land you in trouble with trading standards, and unless I have totaly misunderstood this bit of code it looks like stock install will give you this problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.