Results 1 to 10 of 699

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    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.

  2. #2
    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!

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

    Default Re: Better Together Contribution Support Thread

    You have to move the closing fieldset above the clearBoth.
    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
    May 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Thx for the help... I moved </fieldset> there and it didn't work. I tried each line just for giggles... no luck. Tried with and without the ; at the end of the line.

    Code:
    if ( (count($resp) > 0) || (count($rresp) > 0) ) {
          <fieldset><legend><i>Better Together</i></legend>;
            $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>';
             </fieldset>;
             echo '<br class="clearBoth" />';
    Last edited by thelawman; 24 May 2010 at 01:52 AM. Reason: typo

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

    Default Re: Better Together Contribution Support Thread



    Code:
    ?>
    <fieldset><legend><i>Save with Our "Better Together" Deals</i></legend>
    <?php
    I really should learn how to code... of course my "try everything and see if it works" method isn't so bad... just real slow.

    Thanks for the help. Now I'm off to your site to purchase the "Buy Both Now" button

  6. #6
    Join Date
    Mar 2010
    Location
    Battle Creek, MI
    Posts
    124
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    I was looking through this add on, and quite honestly, it looks pretty darn solid and flexible. I do have a question though.

    I'm looking to start out by using it specifically as a cross-sell tool, but eventually expanding on the other features.

    Here's the question..... If I...

    $this->add_cat_to_cat(a, b, "X", 0);

    as a cross sell between catagories a and b, just how many items will display in the 'you may also like' centerbox? Is it limited to displaying a certain number of random items or will the entire catagory display?

    I'm curious as to how I need to handle this

    Thanks in advance!

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

    Default Re: Better Together Contribution Support Thread

    In the formulation you used, only the category image for category B would be used. If you want to display specific products, you would need to use add_cat_to_prod() and use specific product ids.
    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.

 

 

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