Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
countrycharm
The total points for and item is displayed on the product info page if you have it set to do so.
How do I set it to do so? It isn't showing on mine
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
memorydave
How do I set it to do so? It isn't showing on mine
A link to your site will be helpful.
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
countrycharm
A link to your site will be helpful.
Mazda Bongo shop
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
memorydave
Download a copy of your includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php
and insert this code anywhere you want Reward Points to show on the product info page. If you do not have that file download it from includes/templates/template_default/templates/tpl_product_info_display.php
You must not have the recent version of Reward Points installed or you didn't rename the custom folder to YOUR_TEMPLATE name that you are using before uploading to your server. That file is already included in the module.
PHP Code:
<!--bof Product Reward Points block -->
<h2 id="productRewardPoints" class="productRewardPoints">
<?php
/**
* display the product reward points
*/
include($template->get_template_dir('/tpl_product_reward_points.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_product_reward_points.php');
?>
</h2>
<!--eof Product Reward Points block -->
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
countrycharm
Download a copy of your includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php
and insert this code anywhere you want Reward Points to show on the product info page. If you do not have that file download it from includes/templates/template_default/templates/tpl_product_info_display.php
You must not have the recent version of Reward Points installed or you didn't rename the
custom folder to
YOUR_TEMPLATE name that you are using before uploading to your server. That file is already included in the module.
PHP Code:
<!--bof Product Reward Points block -->
<h2 id="productRewardPoints" class="productRewardPoints">
<?php
/**
* display the product reward points
*/
include($template->get_template_dir('/tpl_product_reward_points.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_product_reward_points.php');
?>
</h2>
<!--eof Product Reward Points block -->
You sir are a magician. Thank you so much for your help (again)
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
memorydave
You sir are a magician. Thank you so much for your help (again)
You are very welcome. I'm glad you got it all worked out.
Re: Reward Points Module- Live Release now available.
I've got the rewards system installed and enabled and its working great, but I would like to modify the 'XXX reward points' that displays on the product info page.
I would like to make the rewards points text a hyperlink to the EZ page that I have set up explaining how the rewards point system works instead of having the customers scroll down to the footer to click the link.
Possible? Code snippet would be wonderful!
Thanks!
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Limitless
I've got the rewards system installed and enabled and its working great, but I would like to modify the 'XXX reward points' that displays on the product info page.
I would like to make the rewards points text a hyperlink to the EZ page that I have set up explaining how the rewards point system works instead of having the customers scroll down to the footer to click the link.
Possible? Code snippet would be wonderful!
Thanks!
WebKat did that but I don't remember how she did it. Maybe she will answer your post.
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
countrycharm
WebKat did that but I don't remember how she did it. Maybe she will answer your post.
I found where I need to change it (extra definitions) but I am a php idiot.
Glad to hear its possible.
Thanks.
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Limitless
I've got the rewards system installed and enabled and its working great, but I would like to modify the 'XXX reward points' that displays on the product info page.
I would like to make the rewards points text a hyperlink to the EZ page that I have set up explaining how the rewards point system works instead of having the customers scroll down to the footer to click the link.
Possible? Code snippet would be wonderful!
Thanks!
Here is what I added to my tpl_product_info_display.php file:
PHP Code:
<!--bof Product Reward Points block -->
<p style="font-size:1em;">Earn <?php /** * display the product reward points */ include($template->get_template_dir('/tpl_product_reward_points.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_product_reward_points.php'); ?> for this purchase!</p>
<!--eof Product Reward Points block -->
I added it right after this code, but this code may be altered from the original--I can't remember:
PHP Code:
<h2 id="productPrices" class="productGeneral">
<?php
// base price
if ($show_onetime_charges_description == 'true') {
$one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />';
} else {
$one_time = '';
}
echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']);
?></h2>
And in includes/languages/english/extra_definitions/custom/reward_points.php I have this:
HTML Code:
Line #3 : define('PRODUCT_REWARD_POINT_TAG', '<a href="/index.php?main_page=points">reward points</a>');