Page 61 of 70 FirstFirst ... 11515960616263 ... LastLast
Results 601 to 610 of 697
  1. #601
    Join Date
    Jul 2004
    Posts
    142
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Hi Scott,
    function setup() {

    $this->add_prod_to_prod(6753, 6744, 'X', 0);
    $this->add_prod_to_prod(6744, 6753, 'X', 0);
    $this->add_prod_to_prod(6585, 6589, 'X', 0);
    $this->add_prod_to_prod(6589, 6585, 'X', 0);

    and on and on....on...and...on and one more on...ok 7,000 more.

    I wrote a excel sheet to generate the numbers and insert it into a list, as such, up to the highest current product number and create the opposite set.

    Items that do not have a actual item attached to them generate a "S O L D" image and link to the Newest Items Page.

    The problem I am having is even if a item is sold (0 quantity) AND/OR the status of the item is OFF. The item is still showing the image in my cross-sell, BUT when clicked it obviously would go to the Newest Items Page since it is not available. Seeing the image, a customer would expect to go to the product rather than the Newest Items List, I'm sure annoyed.

    Great work by the way with all of these plug-ins, they are absolutely the best.

    Thanks
    GJW

  2. #602
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,671
    Plugin Contributions
    123

    Default Re: Better Together Contribution Support Thread

    OK so looking at

    $this->add_prod_to_prod(6753, 6744, 'X', 0);

    if you're on 6753 you don't want to show 6744 if it's sold out, right? Then go to includes/modules/order_total/ot_better_together.php and modify the function get_xsell_info(). The block you want is on 676-682 of the latest update.

    Before

    Code:
             if ($match == 1) {
                $info['image'] = $second_image;
                $info['link'] = $disc_href;
                $info['ident'] = $li->ident2;
                $info['name'] = $name;
                $response_arr[] = $info;
             }
    add this block of code

    Code:
             // Don't display out of stock products for xsell if not purchaseable
             if ( ($match == 1) &&
                  (($li->flavor == PROD_TO_PROD) || ($li->flavor == CAT_TO_PROD)) ) {
                 if ( (zen_get_products_stock($li->ident2) <= 0) &&
                      (STOCK_ALLOW_CHECKOUT == 'false') ) {
                      continue;
                 }
             }
    Last edited by swguy; 25 Sep 2013 at 04:05 PM. Reason: updated example code
    That Software Guy. My Store: Zen Cart Modifications
    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. #603
    Join Date
    Jul 2004
    Posts
    142
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Scott,
    That worked great. Thank you, I would have never figured that one out.
    Just a note regarding that, I'm using prod_to_prod, so I changed it so it reflected that function.

    Changed CAT_TO_PROD To PROD_TO_PROD

    Thanks again Scott.

    GJW

  4. #604
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,671
    Plugin Contributions
    123

    Default Re: Better Together Contribution Support Thread

    You are correct - I just updated the example code above.
    That Software Guy. My Store: Zen Cart Modifications
    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. #605
    Join Date
    Mar 2009
    Location
    Crockett, Texas
    Posts
    139
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Hi Everyone...

    I have a lady asking me about this module or one like it. She is wanting to install a BOGO type deal but I need to know if this module is "user friendly" enough that I can install it and leave her alone with it or does this module require manual coding for discounts and BOGO's?

    I have looked into all kinds of other modules...if any one can point me in the right direction that I might be able to offer this installation without much supervision or a module available that I can be licensed to use on multiple installs if need be.

    Thanks. :)

  6. #606
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,556
    Plugin Contributions
    28

    Default Re: Better Together Contribution Support Thread

    The module itself requires file edits to set the discounts. The additional admin panel makes it simple.

  7. #607
    Join Date
    Mar 2009
    Location
    Crockett, Texas
    Posts
    139
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by jeking View Post
    The module itself requires file edits to set the discounts. The additional admin panel makes it simple.
    That's what I thought...I was looking for something that I could possibly use commercially that offers me a license to use on multiple sites and not have to leave my customers with trying to figure out how to change or add code themselves. Thanks for your response.

  8. #608
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Hi,

    I have installed the latest files but I can't see under the Tools menu. I have the zencat 1.5.1.
    I've read on your site that I need to install 'Run the bt_admin_upgrade.sql file against your database.' There was NO 'bt_admin_upgrade.sql ' included in the files when I had downloaded them.

    What's wrong?
    Downunder QLD

  9. #609
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    I have also installed the the old paid version 2.0 and I still cannot see it in the Admin Tools.

    Can you please help. Thanks
    Downunder QLD

  10. #610
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,671
    Plugin Contributions
    123

    Default Re: Better Together Contribution Support Thread

    See PM. Please contact me privately, not over the forum, for help with paid work.
    That Software Guy. My Store: Zen Cart Modifications
    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.

 

 
Page 61 of 70 FirstFirst ... 11515960616263 ... LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR