Jump to content

Display price seperate to item name?


AshScott

Recommended Posts

Hi all,

 

I am setting up a website, and currently working on the theme. I am adding some configurable options, one of which is additional web space. I am doing this as radio buttons, and would like it displayed in a table, with 4 columns. The table will be in a div 800px wide floated to the right, and the name of the configurable option, eg, additional web space, will be in a div, floated to the left, 150px wide:

 

[table=width: 500, class: grid]

[tr]

[td][/td]

[td]Product[/td]

[td]Monthly Cost[/td]

[td]Setup Cost[/td]

[/tr]

[tr]

[td]radio[/td]

[td]+5GB[/td]

[td]£2.99[/td]

[td]£0.00[/td]

[/tr]

[tr]

[td]radio[/td]

[td]configurable option[/td]

[td]Product Cost /mo[/td]

[td]Setup Cost[/td]

[/tr]

[/table]

 

I will add css later though. Now, I need to know the code required, as each bit will be in a separate cell. The code in the template i'm using is {$options.name} but that displays both name and price, but i want these in a seperate cell. As you can see in the table, the top row is an example of what it will look like, and the bottom row is what i need in each cell, but i don't know how to do it. Basically, if it's making no sense, something like this - a seperate hook/call thing for each element of that configurable option.

 

{radiobutton}

{optionname}

{optionpricemonth}

{optionsetup}

 

If it's not clear, let me know please! I need each part of the configurable option:

 

Radio Button

OptionName

OptionPrice Monthly

Option setup

 

Each in their own <td> within a table - so i need the bit of code for each of the above parts of the configurable options, that will work in the right way, so the client get's billed correctly.

 

Thanks in Advance!

Ash

Edited by AshScott
Link to comment
Share on other sites

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