Results 1 to 10 of 476

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Multi Cross Sell mod [Support thread]

    Before I start I wanted to thank you for your contribution.

    Running Zen Cart 1.5.1

    I installed the “multi_cross_sell_v1.03” plug-in without any problems. This is a fresh install without any prior similar plug-ins.

    PHP Code:
    <!-- BEG: Multi Cross-Sell mod -->
    <?php
    // THIS CODE WOULD BE ADDED INTO YOUR TPL_PRODUCT_INFO_DISPLAY.PHP WHEREVER YOU WANT TO DISPLAY ALL THE CROSS_SELL BOXES:
      
    if(defined('MXSELL_ENABLED') && MXSELL_ENABLED == 'true') {
        for ( 
    $mxsell 1$mxsell <= MXSELL_NUM_OF_TABLES$mxsell++ ) { // show all cross sells
          
    require($template->get_template_dir('tpl_modules_multi_xsell_products.php'DIR_WS_TEMPLATE$current_page_base,'templates'). '/' 'tpl_modules_multi_xsell_products.php');
        }
      }
    ?>
    <!-- END: Multi Cross-Sell mod -->
    I placed the above php code before "/form"

    I created 4 products, 1 main product called “PRODUCT A” and 3 parts called “Part 1”, “Part 2” & “Part 3”as follow:
    ID for “PRODUCT A” is 24
    ID for “Part 1” is 25
    ID for “Part 2” is 26
    ID for “Part 3” is 27

    Under admin/catalogue/Multi Cross Sell, I created a new cross sell as follow:
    Click image for larger version. 

Name:	Zen_0013.jpg 
Views:	45 
Size:	6.5 KB 
ID:	11781

    Under admin/configuration/Multi Cross Settings, my setup is as follow:
    Click image for larger version. 

Name:	Zen_0014.jpg 
Views:	46 
Size:	19.2 KB 
ID:	11782

    When I select “PRODUCT A” I see the following under the “product_info” page
    Click image for larger version. 

Name:	Zen_0012.jpg 
Views:	54 
Size:	20.9 KB 
ID:	11780


    So far so everything is OK.

    Question 1) Why is it when I select, add to cart, in the above scenario, “Part 2” gets added to the cart instead of “PRODUCT A”? I have tried this many times on different products and it seems to add the first product on the left from the “Suggested Matching Items…”! What have done wrong? What am I doing wrong?

    Question 2) Is there any way to code in and get a “Quantity Box” instead of “Buy Now” button on the product_info_display page only, so the customer could have the choice of picking the quantities of the items he needs to the cart from this page, instead of going back and forth to add related products?
    Last edited by Kevin205; 17 Jan 2013 at 04:44 AM.
    Using Zen Cart 1.5.1

  2. #2
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Multi Cross Sell mod [Support thread]

    Quote Originally Posted by Kevin205 View Post
    Question 1) Why is it when I select, add to cart, in the above scenario, “Part 2” gets added to the cart instead of “PRODUCT A”? I have tried this many times on different products and it seems to add the first product on the left from the “Suggested Matching Items…”! What have done wrong? What am I doing wrong?
    You need to move the </form> as well.
    See post 364

    Quote Originally Posted by Kevin205 View Post
    Question 2) Is there any way to code in and get a “Quantity Box” instead of “Buy Now” button on the product_info_display page only, so the customer could have the choice of picking the quantities of the items he needs to the cart from this page, instead of going back and forth to add related products?
    Could be done (but hasn't as I didn't require it)

  3. #3
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Multi Cross Sell mod [Support thread]

    I wish I knew how to code in php.

    I would have done it, because it is a very useful scheme and a lot of people could use it.

    Thank you for your help.
    Using Zen Cart 1.5.1

  4. #4
    Join Date
    Jan 2013
    Posts
    18
    Plugin Contributions
    0

    Default Re: Multi Cross Sell mod [Support thread]

    There is probably a very simple fix to this and I am just missing somewhere, but after installing Multi Cross Sell it does not even show up in Admin - Catalog to install it. I double checked that all files are in their proper places when I moved them to our test site, but I am not sure why it's not even showing up to install it. If anyone has any suggestions, that would be great! Thanks!

    ** NEVER MIND, I AM AN IDIOT AND APPARENTLY CAN'T READ! FIXED!
    Last edited by aiko70; 18 Jan 2013 at 05:29 PM.

 

 

Similar Threads

  1. Cross Sell Advanced [Support Thread]
    By DivaVocals in forum Addon Admin Tools
    Replies: 168
    Last Post: 20 Jun 2026, 02:08 PM
  2. Ultimate Cross Sell [Support Thread]
    By ultimate_zc in forum All Other Contributions/Addons
    Replies: 239
    Last Post: 17 May 2015, 03:25 AM
  3. Just another Cross-Sell mod (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 702
    Last Post: 3 Nov 2012, 04:30 AM
  4. Multi cross sell mod
    By bonsey61 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 9 Oct 2010, 08:12 PM
  5. support for Cart Upsell/Cross Sell Mod
    By wagnerguy in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 5 May 2009, 01:18 AM

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