Page 1 of 2 12 LastLast
Results 1 to 10 of 699

Hybrid View

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

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

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

    Default Re: Better Together Contribution Support Thread

    Thanks for the quick response, good information to know. Does it limit the number of items in the centerbox for cross sell items or does it list everything you put in for paramaters?
    Being selectful isn't a problem, I just dont want to overload a box with things! :)

  4. #4
    Join Date
    Oct 2007
    Location
    Edinburgh, Scotland
    Posts
    243
    Plugin Contributions
    1

    Default Re: Better Together Contribution Support Thread

    I've had a look through the support thread and can't find anything relating to this, but apologies if it's already been answered somewhere else.

    Is it possible to modify this module to be able to create linkages between linked products in a category rather than using their master category id. I understand that the lack of this functionality is covered in the documentation and am wondering if it is actually possible or if there is something which hinders its integration.

    For example a product 'Cotton T-Shirt' has a master category of 'Shirts' and is linked to a hidden category 'cotton shirts'. I would like to add a linkage to all products in the hidden category 'cotton shirts' to a particular product, but not all the products in 'Shirts'.

    Thanks.
    Last edited by fergusmacdonald; 3 Jun 2010 at 03:17 PM. Reason: Added example

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

    Default Re: Better Together Contribution Support Thread

    It is certainly possible, but a complete implementation would require a lot of changes (and a boatload of even more confusing documentation), so I didn't go this route, although I seriously considered it at one point.
    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.

  6. #6
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,566
    Plugin Contributions
    74

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by swguy View Post
    It is certainly possible, but a complete implementation would require a lot of changes (and a boatload of even more confusing documentation), so I didn't go this route, although I seriously considered it at one point.
    I have to agree, this module needs to support linked products. For example, then it would be so easy to throw a bunch of products into a sale category for a BOGO sale.

    Otherwise, changing the master category id could be detrimental to SEO. Please consider using the function
    PHP Code:
    zen_product_in_category(products_idcategory_id
    This function works for linked products and top level categories.

  7. #7
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,566
    Plugin Contributions
    74

    Default Re: Better Together Contribution Support Thread

    Try this for cat to cat discounts:
    PHP Code:
    function get_discount($discount_item, &$all_items) {
            
    $discount 0
            for (
    $dis=0$n=count($this->discountlist); $dis<$n$dis++) {
               
    $found_match false
               
    $li $this->discountlist[$dis]; 
               
    // Based on type, check ident1
               
    if ( ($li->flavor == PROD_TO_PROD) || 
                    (
    $li->flavor == PROD_TO_CAT) ) {
                  if (
    $li->ident1 == $discount_item['id']) {
                     continue;
                  } else {
                    
    $found_match true;
                  }
               } else { 
    // CAT_TO_CAT, CAT_TO_PROD
               // check to make sure a discount product has been added
                  
    if (zen_product_in_category((int)$discount_item['id'], $li->ident1)) { // modified to support linked products and top level categories 
                     
    $found_match true;
                  } else {
                    continue;
                  }
               }
               if (
    $found_match) {
                 for (
    $i=sizeof($all_items) - 1$i>= 0$i--) {
                     if (
    $all_items[$i]['quantity'] == 0
                        continue;
                     
    $match 0
                     if ( (
    $li->flavor == PROD_TO_PROD) || 
                          (
    $li->flavor == CAT_TO_PROD) ) {
                        if (
    $all_items[$i]['id'] == $li->ident2) {
                           
    $match 1;
                        }
                     } else { 
    // CAT_TO_CAT, PROD_TO_CAT
                        // check that a product in the other category exists
                        
    if (zen_product_in_category((int)$all_items[$i]['id'], $li->ident2)) { // modified to support linked products and top level categories
                           
    $match 1;
                        }
                     }

                     if (
    $match == 1) { 
                         
    $all_items[$i]['quantity'] -= 1;
                         if (
    $li->type == "$") {
                            
    $discount $li->amt;
                         } else { 
    // %
                            
    $discount $all_items[$i]['final_price'] *  
                                        
    $li->amt 100;
                         }
                         return 
    $discount;
                     }
                 }
               }
            }

            return 
    0;
        } 
    You'll have to apply this to the other methods, but it's all I needed.

  8. #8
    Join Date
    May 2008
    Location
    London UK
    Posts
    9
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    I have installed the mod and updated the tpl product info display. But all i get is the words BB beneath the product description nstead of the promotion text.
    The side box works fine
    I am using 1.3.9.
    the link is :
    http://www. orispace.co.uk/index.php?main_page=product_info&products_id=1228

    Any pointers to what i am doing wrong?
    I have not gone admin mod yet.

    Any assistance much appreciated

  9. #9
    Join Date
    Jun 2009
    Location
    Miami, Fl
    Posts
    138
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Yesterday I bought the product Better Togrther Admin... I installed step by step following the instructions. I'm using Zencart 1.3.8a . The result is ... Better Together Admin works fine in the admin... but in the store nothing happen.
    If you add to cart the product in the place where is supossed to see the promotion deal it says:

    You may want to add some instructions for using the shopping cart here. (defined in includes/languages/english/shopping_cart.php)


    That is a text that never was showed before. I wrote to the author but he offer me a support for an extra payment of u$60. So in my opinion, I think that the product should be $120 instead $60. LOL

    I tested the product in another domain with Zen Cart 1.3.9, using a different template and the result is the same.

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

    Default Re: Better Together Contribution Support Thread

    Hundreds have had success with my commercial mods, thousands with my free ones, but I guess no solution is right for everyone. Your money was being refunded as you were writing that post; it's not worth my while to have complaining customers.
    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.

 

 
Page 1 of 2 12 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

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