nimonogi Posted April 6, 2016 Share Posted April 6, 2016 Hello, Since we are setting Configurable Options as Hidden in WHMCS, why they are displayed at cart.php?a=view under the product? How can we hide them? Those are discontinued options and there is no reason to be displayed on cart since the customer can't choose them. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
cezar Posted April 7, 2016 Share Posted April 7, 2016 I have the same problem , i have reported to whmcs by opened a support ticket. I have received just a case number, but without solution yet...Look at the image below, i have plenty of hidden configuration options that are supposed to be hidden but still showing in cart......:mad: 0 Quote Link to comment Share on other sites More sharing options...
nimonogi Posted April 7, 2016 Author Share Posted April 7, 2016 @brian! is there any quick hack until WHMCS resolve this issue? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 7, 2016 Share Posted April 7, 2016 (edited) @brian! is there any quick hack until WHMCS resolve this issue? has someone turned on the bat signal? I don't know if you're reporting this as an issue with v6.3 - if so, I can't really help as I haven't updated to it yet - but working from v6.2.2, i'll suggest what I can. for the order summary box in the cart (cezar), it doesn't have a variable for each config option to show whether it should be hidden or not, so the best quick hack for this would be to hide config options that are priced at 0.00 - the downside is that would also hide existing options that are free, e.g in cezar's case, it would probably hide the "ISO Image" choice as all the options seem to be free... however, it's only the summary and I suspect the choice would be shown on the invoice and/or email. so in ordersummary.tpl @ line 10, you could change... {if $configoption} to... {if $configoption.recurring neq "{$currency.prefix}0.00{$currency.suffix}"} for the viewcart (nomonogi), you could do something similar and change... {foreach key=confnum item=configoption from=$product.configoptions} » {$configoption.name}: {if $configoption.type eq 1 || $configoption.type eq 2}{$configoption.option}{elseif $configoption.type eq 3}{if $configoption.qty}{$configoption.option}{else}{$LANG.no}{/if}{elseif $configoption.type eq 4}{$configoption.qty} x {$configoption.option}{/if}<br /> {/foreach} to... {foreach key=confnum item=configoption from=$product.configoptions} {if $configoption.recurring neq "{$currency.prefix}0.00{$currency.suffix}"} » {$configoption.name}: {if $configoption.type eq 1 || $configoption.type eq 2}{$configoption.option}{elseif $configoption.type eq 3}{if $configoption.qty}{$configoption.option}{else}{$LANG.no}{/if}{elseif $configoption.type eq 4}{$configoption.qty} x {$configoption.option}{/if}<br /> {/if} {/foreach} looking at v6.2.2, hiding configuration groups correctly hides them from both the configureproduct page and the order summary, but it seems that if you hide all the options within a configuration group, it will still show one of them... which I guess makes some sort of sense so as to not shown an empty group. hopefully these quick hacks will help in your situation until the issue is resolved. Edited April 8, 2016 by brian! 1 Quote Link to comment Share on other sites More sharing options...
nimonogi Posted April 8, 2016 Author Share Posted April 8, 2016 Thanks @brian! You've been very helpful as always. 0 Quote Link to comment Share on other sites More sharing options...
cezar Posted April 11, 2016 Share Posted April 11, 2016 Thanks @brian! Now it's ok. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 13, 2016 Share Posted April 13, 2016 reported to be fixed in v6.3.1 http://docs.whmcs.com/Version_6.3.1_Release_Notes CORE-9951 - Prevent hidden configurable options from showing up in client order summary 0 Quote Link to comment Share on other sites More sharing options...
nimonogi Posted April 13, 2016 Author Share Posted April 13, 2016 I was struggling for days to convince them that this bug exists. At least they fixed it quickly. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.