Results 1 to 10 of 699

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    It is, there are no blank lines after ?> The bracket I removed was at the end of your code above.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,531
    Plugin Contributions
    127

    Default Re: Better Together Contribution Support Thread

    Better Together 2.2 is now available. This version features another tax setting (Re-Calculate Tax = VAT) for tax included shops. If you do not run with Display Prices with Tax = true, you may skip this upgrade.

    An additional change was made for currency-based discounting for tax included shops. Now *all* discounts - not just percent off discounts - are grossed up for taxes if you use include_tax = yes. In some earlier versions, I tried not grossing up dollar based discounts. However, I believe uniform treatment is a more consistent and logical approach.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,531
    Plugin Contributions
    127

    Default Re: Better Together Contribution Support Thread

    Better Together will work fine for non-VAT liable, non-tax-included shops in 1.3.9. I will release another version after 1.3.9 is finalized which is compliant with the new style of tax handling for tax-included shops in 1.3.9.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,531
    Plugin Contributions
    127

    Default Re: Better Together Contribution Support Thread

    Better Together 2.3 has been released, with support for Cross Selling (undiscounted linkages). Cross sells are shown in a new centerbox on the product info page.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    May 2010
    Posts
    24
    Plugin Contributions
    0

    help question Re: Better Together Contribution Support Thread

    Fantastic mod!

    I was added a fieldset to the marketing text template (tpl_better_together_marketing_images.php) to put a label on it. However, the fieldset and label shows even when there are no "Better Together" discounts.

    Code:
    <!-- bof Better Together Marketing -->
    <fieldset><legend><i>Our "Better Together" Deals:</i></legend>
    <?php 
      // Better Together Discount Marketing
      $value = "ot_better_together.php";
      include_once(zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] .
              '/modules/order_total/', $value, 'false'));
      include_once(DIR_WS_MODULES . "order_total/" . $value);
      $discount = new ot_better_together();
      if ($discount->check() > 0) { 
         $resp = $discount->get_discount_info($_GET['products_id'], $current_category_id, true); 
         $rresp = $discount->get_reverse_discount_info($_GET['products_id'], $current_category_id, true); 
         if ( (count($resp) > 0) || (count($rresp) > 0) ) {
            $marketing_data = array_merge($resp, $rresp); 
            echo '<div class="content" id="betterTogetherDiscountPolicy">';
            for ($i=0, $n=count($marketing_data); $i<$n; $i++) {
                 echo '<hr />';
                 echo '<div class="discountText">'; 
                 echo $marketing_data[$i]['data'];
                 echo '</div>'; 
                 echo '<div class="discountImages">'; 
                 echo  
                    $marketing_data[$i]['first_href'] .
                    $marketing_data[$i]['first_image'] . '</a>' . 
                    '<span class="product_plus">+</span>' .
                    $marketing_data[$i]['disc_href'] .
                    $marketing_data[$i]['second_image'] . '</a>'; 
                    if (isset($marketing_data[$i]['bbn_string'])) { 
                       echo '<span class="bbn_button">' . $marketing_data[$i]['bbn_string'] . '</span">';
                    }
                 echo '</div>'; 
             }
             echo '</div>';
             echo '<br class="clearBoth" />'; 
         }
    
      }
    ?>
    </fieldset>
    <!-- eof Better Together Marketing -->
    I tried inserting after the IF statement but doesn't seem to like that... where should it go so as not to show up when no products are linked?

    Thanks!

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,531
    Plugin Contributions
    127

    Default Re: Better Together Contribution Support Thread

    You could move the fieldset stuff below

    if ( (count($resp) > 0) || (count($rresp) > 0) ) {


    Or you could just create some Better Together Discounts!
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    May 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Thanks for such a quick reply...

    Quote Originally Posted by swguy View Post
    You could move the fieldset stuff below
    if ( (count($resp) > 0) || (count($rresp) > 0) ) {
    When I do that the "Better Together" and the "May We Also Recommend" box doesn't show at all.


    Or you could just create some Better Together Discounts!
    might just have to do that!

 

 

Similar Threads

  1. Twitter Updates Sidebox Contribution Support Thread
    By delia in forum Addon Sideboxes
    Replies: 13
    Last Post: 29 Dec 2010, 12:44 AM
  2. Better Together Promotional Page Contribution
    By swguy in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 27 Feb 2010, 05:52 PM
  3. Windows Live Product Search Contribution Support Thread
    By numinix in forum All Other Contributions/Addons
    Replies: 209
    Last Post: 3 Jul 2009, 08:23 PM
  4. Better together mod
    By coolman in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 16 Aug 2008, 09:48 PM
  5. LinkConnector Affiliate Contribution Support Thread
    By hyperdogmedia in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 28 Jun 2007, 06:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg