Jump to content

Make product add-on checked off by default?


TruMan1

Recommended Posts

I looked there but it doesn't look like it beause it is using "{$addon.checkbox}" for the checkbox. Here's the code:

 

{if $addons}

<p><strong>{$LANG.orderchooseaddons}</strong></p>

<p>{$LANG.orderaddondescription}</p>

<div class="orderbox">

<b class="orderboxrtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>

<div class="orderboxpadding">

<table>

{foreach key=num item=addon from=$addons}

<tr><td>{$addon.checkbox}</td><td><label for="a{$addon.id}"><strong>{$addon.name}</strong> - {$addon.description} ({$addon.pricing})</label></td></tr>

{/foreach}

</table>

</div>

<b class="orderboxrbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>

</div>

{/if}

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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