Jump to content

Custom fields...


s1rk3ls

Recommended Posts

Ok, so reading the forums I ran across an idea to add a custom field to a product which can be hidden from the order form, then be filled in later by me and included in their welcome email via merge fields - this works great adn is exactly what I was looking for.

 

But now, it occured to me that I would like to display that info to the cilent when they login and view their products (such as viewing other options they chose when ordering the product) but since it is not displayed on the order form, it is also not displayed when the client views their orders....

 

Is there a way to do this without having it show up on the initial order form?

Link to comment
Share on other sites

go to whatever template you want to show it on and add {debug} to the bottom of the template. Thne refresh the page and you will see a popup. See if the variable is available for that particular field you are trying to show.

 

If its not available, it still can be done, just might not be as easy as you may like. Depending on how bad you want it, i can write a smarty plugin to display the info.

Link to comment
Share on other sites

oooh, which reminds me - I wanted to ask about including php code in the templates... is that possible? I tried it, but didn't work - then I found I could edit the "cached" templates (in the template_c folder or something like that) but I'm afraid that these files weill get overwritten since they are generated ... any ideas?

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