Mine isn't working. Can anyone please offer a helping hand?
I am using Zenrt 1.3.8a with Better Together Contribution + Better Together Admin
So I don't need to (want to) enter manual discounts and hard code the files. Therefore as per instruction, I have inserted the extra code to my tpl_product_info_display.php in my own template folder. I have also entered the code into includes/modules/order_total/ot_better_together.php.
I then have created the discount product > Product at 15%
(2) Buy: Jojoba Oil 25/50/100ml (PROD 80) Get: Midgie/Mossie Bite Balm 125/250ml (PROD 77) Discount: 15%
Problem I can not see the like in the demo any of this type of text. What is missing? I have upload all the files.
------------------------------------------------------------------------------------
Better Together Discounts
Buy this item, get a Die Hard With A Vengeance Linked at 50% off
------------------------------------------------------------------------------------
4. Edit the file
includes/modules/order_total/ot_better_together.php
and in the setup() function at the bottom of the file, add the lines:
if (!IS_ADMIN_FLAG) {
require(DIR_WS_MODULES . 'better_together_admin.php');
}
6. Customize the tpl_product_info_display.php file to advertise
your discounts. Put the file
includes/templates/template_default/templates/tpl_product_info_display.php
into includes/templates/<Your Template>/templates, and be sure
you have installed tpl_better_together_marketing.php in this
same directory. Then add this block of code to the
tpl_product_info_display.php file
<?php
require($template->get_template_dir('/tpl_better_together_marketing.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_better_together_marketing.php');
?>
The placement of this code is a matter of personal preference.
Try placing it below the product description (line 87 in
tpl_product_info_display.php in 1.3.7), and adjust to your taste.


Reply With Quote

