Jump to content

kea

Member
  • Posts

    4
  • Joined

  • Last visited

About kea

kea's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Exactly I understand. Yes, I want to simplify the ordering process as much as possible. I am afraid that the additional step may affect the conversion, and in my case this additional step is completely unnecessary.
  2. Thank you for answering and explaining 🙂 When "Hidden" checkbox is unchecked, then an additional step is added to the ordering process. I would like to remove this step (configuration of add-ons) from the ordering process at all. Is this possible?
  3. Hi, I have created configurable options for the product. I have the "Hidden" checkbox selected because I do not want to show them in the order form. Everything works great here. The problem is that they have also been hidden in the client's arena. I want to edit the template to show the upgrade configurable options in the client arena, even if the "Hidden" checkbox is selected. I found the code in the template (six/upgrade.tpl) responsible for displaying these options: {elseif $type eq "configoptions"} <p>{$LANG.upgradechooseconfigoptions}</p> {if $errormessage} {include file="$template/includes/alert.tpl" type="error" errorshtml=$errormessage} {/if} <form method="post" action="{$smarty.server.PHP_SELF}"> <input type="hidden" name="step" value="2" /> <input type="hidden" name="type" value="{$type}" /> <input type="hidden" name="id" value="{$id}" /> <table class="table table-striped"> <thead> <tr> <th></th> <th>{$LANG.upgradecurrentconfig}</th> <th></th> <th>{$LANG.upgradenewconfig}</th> </tr> </thead> <tbody> {foreach key=num item=configoption from=$configoptions} <tr> <td>{$configoption.optionname}</td> <td> {if $configoption.optiontype eq 1 || $configoption.optiontype eq 2} {$configoption.selectedname} {elseif $configoption.optiontype eq 3} {if $configoption.selectedqty}{$LANG.yes}{else}{$LANG.no}{/if} {elseif $configoption.optiontype eq 4} {$configoption.selectedqty} x {$configoption.options.0.name} {/if} </td> <td>=></td> <td> {if $configoption.optiontype eq 1 || $configoption.optiontype eq 2} <select name="configoption[{$configoption.id}]"> {foreach key=num item=option from=$configoption.options} {if $option.selected}<option value="{$option.id}" selected>{$LANG.upgradenochange}</option>{else}<option value="{$option.id}">{$option.nameonly} {$option.price}{/if}</option> {/foreach} </select> {elseif $configoption.optiontype eq 3} <input type="checkbox" name="configoption[{$configoption.id}]" value="1"{if $configoption.selectedqty} checked{/if}> {$configoption.options.0.name} {elseif $configoption.optiontype eq 4} <input type="text" name="configoption[{$configoption.id}]" value="{$configoption.selectedqty}" size="5"> x {$configoption.options.0.name} {/if} </td> </tr> {/foreach} </tbody> </table> <p class="text-center"> <input type="submit" value="{$LANG.ordercontinuebutton}" class="btn btn-primary" /> </p> </form> {/if} Can anyone help me to modify this code, to display the configurable options even if the "Hidden" checkbox is selected?
  4. Hi, I have created configurable options for the product. I have the "Hidden" checkbox selected because I do not want to show them in the order form. Everything works great here. The problem is that they have also been hidden in the client's arena. How to let the customer order configurable options now? I use six template.
  5. Welcome to WHMCS.Community kea! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated