Nick Graham Posted February 9, 2015 at 05:39 PM Share Posted February 9, 2015 at 05:39 PM Hello, We've set up custom variables within our Paid Listings pricing plans, for example paid_or_free|paid retailer_or_manufacturer|retailer We are able to use these variables successfully within theme modifications to detail.thtml and listings_tableview.thtml. However, we are not able to see these variables with listings_compare.thtml. <$php echo $Paid-getVar('paid_or_free',$listing) ?> echoes nothing A conditional such as <?php if($Paid->getVar('paid_or_free', $listing) == 'paid'): ?> <p>PRINT THIS</p> <?php endif; ?> likewise shows nothing. We know we're editing the right file in the right place, because if we change the operator to != we see the message. Is it the case that the custom variables are not passed through to the comparisons? We're prepared to hack jreviews.compare.js if this is necessary. Any guidance is appreciated. Thanks, clayc (on behalf of Nick, the account owner) Link to comment
Alejandro Posted February 9, 2015 at 05:54 PM Share Posted February 9, 2015 at 05:54 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Nick Graham Posted February 9, 2015 at 06:51 PM Author Share Posted February 9, 2015 at 06:51 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
.... Posted February 16, 2015 at 05:44 PM Share Posted February 16, 2015 at 05:44 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted February 16, 2015 at 07:27 PM Share Posted February 16, 2015 at 07:27 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
.... Posted February 16, 2015 at 07:54 PM Share Posted February 16, 2015 at 07:54 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted February 16, 2015 at 08:35 PM Share Posted February 16, 2015 at 08:35 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts