BAJI26 Posted January 1, 2009 Share Posted January 1, 2009 How do I get the Name and the Price to show in my custom page? Thanks! {if !$pid19_hidden}<div class="ssl_title_text" style="background-color:#A33636; width: 107px;">[color=red]{$language}[/color]</div>{/if} {$pricing} Array (2) type => recurring annually => $16.99 USD Annually + $12.00 USD Setu... {$productinfo} Array ( pid => 19 type => other groupname => SSL Certificates name => RapidSSL description => <br/><div><font style="font-size:14px... freedomain => empty freedomainpaymentterms => Array (1) 0 => empty freedomaintlds => Array (1) 0 => empty If I put something else in there it shows. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 2, 2009 Share Posted January 2, 2009 Try {if $productinfo.pid != "19"}...{/if} 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted January 2, 2009 Author Share Posted January 2, 2009 Thanks Sparky but I think the problem is what to put to make the name of the product show. This is my acutally line: {if !$pid19_hidden}<div class="ssl_title_text" style="background-color:#A33636; width: 107px;">{$todaysdate}</div>{/if} The above displays the date [highlight]{$todaysdate}[/highlight], but if I put [highlight]{$productinfo.name}[/highlight] and [highlight]{$productinfo.$name}[/highlight] even [highlight]{$name}[/highlight] and nothing displays. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 2, 2009 Share Posted January 2, 2009 Can you post the full script so we can get a grasp on what's happening in it. 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted January 2, 2009 Author Share Posted January 2, 2009 (edited) In Post #1 is the {debug} information that I want to show on a custom page. The page show good but I just can't the name of the product to show from the {debug} information. the {if !$pid19_hidden}<div class="ssl_title_text" style="background-color:#A33636; width: 107px;">[highlight]{$todaysdate}[/highlight]</div>{/if} is what I want the name to appear in. The above displays the date [highlight]{$todaysdate}[/highlight], but if I put [highlight]{$productinfo.name}[/highlight] or [highlight]{$productinfo.$name}[/highlight] even [highlight] {$name}[/highlight] nothing displays. If you need more info I'll send an email. I've purchase a few of your products. Thanks for taking the time to assist! Edited January 2, 2009 by BAJI26 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 2, 2009 Share Posted January 2, 2009 It would be easier to view the whole script. You know my email. 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted January 3, 2009 Author Share Posted January 3, 2009 I got it sparky! I was using the wrong variable. Thanks for all your help! 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.