Page 54 of 70 FirstFirst ... 444525354555664 ... LastLast
Results 531 to 540 of 699
  1. #531
    Join Date
    Mar 2011
    Posts
    93
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Good work, swguy. This was what I was looking for, and saved me the hassle of having to code it all from scratch. :)

    Just a quick note, instead of using the define FILENAME_PRODUCT_INFO to construct the href link to the products, I suggest using the function zen_get_info_page($product_id) instead. This will cover custom product types.

  2. #532
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,318
    Plugin Contributions
    125

    Default Re: Better Together Contribution Support Thread

    Thanks - this is a good suggestion.
    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. #533
    Join Date
    Apr 2012
    Location
    China
    Posts
    3
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Greetings from the other side of the world

    Thank you so much for your work swguy.

    I have been tring to customize the shipping cart and create a combined discount for 2 categories. Part of your work is exactly what I was tring to do. :-)

    One more question, I wonder if your module has got the function to allow customer to buy ONLY one item from the 2nd category at discounted price. (a single item added allowed)

    Once again, great work, Thank you!

  4. #534
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,318
    Plugin Contributions
    125

    Default Re: Better Together Contribution Support Thread

    No, Better Together does not have a method to cap it at one discount.
    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. #535
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Better Together Contribution Support Thread

    Hi Scott I'm getting half a info product page when I try to insert your code. Do I need to put each category I have between the 2 () or what. What I really like to have is buy any product in any category get the second one for 50% off. Thanks in advance.

    If a straight two for one discount is what is desired, the calls are

    * add_twoforone_prod()
    * add_twoforone_cat()
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

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

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by countrycharm View Post
    Hi Scott I'm getting half a info product page when I try to insert your code. Do I need to put each category I have between the 2 () or what.
    Correct. But note that the function only supports one parameter, so you'll have to list each category. You can do this programmatically though.

    Code:
         function setup() { 
            $list = array(3, 5, 7, 11, 13, 17, 19);
            foreach ($list as $i) {
                $this->add_twoforone_cat($i) 
            }
       }
    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. #537
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by swguy View Post
    Correct. But note that the function only supports one parameter, so you'll have to list each category. You can do this programmatically though.

    Code:
         function setup() { 
            $list = array(3, 5, 7, 11, 13, 17, 19);
            foreach ($list as $i) {
                $this->add_twoforone_cat($i) 
            }
       }
    I'm not understanding this or something. Is the code above and example of what I need to put in the bottom of ot_better_together.php and just replace the number you provided with my category number? If this is correct what else do I add because when I go to admin/modules/ order total I get no module showing.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  8. #538
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,318
    Plugin Contributions
    125

    Default Re: Better Together Contribution Support Thread

    Look at "Common Installation Problems" in the help file for Better Together on my site. (There's a link in the readme.) It looks like you might have problem #3.
    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.

  9. #539
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by swguy View Post
    Look at "Common Installation Problems" in the help file for Better Together on my site. (There's a link in the readme.) It looks like you might have problem #3.
    Hi Scott I know it's problem #3 but I seem not to be able to get it to work. Here' are the codes I tried at the bottom. It still get no modules showing in admin.

    PHP Code:
    function setup() { 
            
    $list =  array(4,6,7,10,11,13,18,21,36,37,46,58,73,76,77,81,82,89,98,109,111,113,116,118,120,121,124,133,134,142,148,154,163,166,168,170,177,179,180,181,182,183,184);
            foreach (
    $list as $i) {
                
    $this->add_twoforone_cat($i)
            } 
    PHP Code:
    function setup() { 
            
    $list =   array(4,6,7,10,11,13,18,21,36,37,46,58,73,76,77,81,82,89,98,109,111,113,116,118,120,121,124,133,134,142,148,154,163,166,168,170,177,179,180,181,182,183,184);
            foreach (
    $list as $i) {
                
    $this->add_twoforone_cat($i)
            }

    Lets work on this one here instead.

    I want to be able to offer, buy any item from any category and get 50% off any other item from any other category. What code would I use to get this to work. Here are my category numbers. Thanks in advance
    4,6,7,10,11,13,18,21,36,37,46,58,73,76,77,81,82,89,98,109,111,113,116,118,120,12 1,124,133,134,142,148,154,163,166,168,170,177,179,180,181,182,183,184
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  10. #540
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by countrycharm View Post
    Hi Scott I know it's problem #3 but I seem not to be able to get it to work. Here' are the codes I tried at the bottom. It still get no modules showing in admin.

    PHP Code:
    function setup() { 
            
    $list =  array(4,6,7,10,11,13,18,21,36,37,46,58,73,76,77,81,82,89,98,109,111,113,116,118,120,121,124,133,134,142,148,154,163,166,168,170,177,179,180,181,182,183,184);
            foreach (
    $list as $i) {
                
    $this->add_twoforone_cat($i)
            } 
    PHP Code:
    function setup() { 
            
    $list =   array(4,6,7,10,11,13,18,21,36,37,46,58,73,76,77,81,82,89,98,109,111,113,116,118,120,121,124,133,134,142,148,154,163,166,168,170,177,179,180,181,182,183,184);
            foreach (
    $list as $i) {
                
    $this->add_twoforone_cat($i)
            }

    Lets work on this one here instead.

    I want to be able to offer, buy any item from any category and get 50% off any other item from any other category. What code would I use to get this to work. Here are my category numbers. Thanks in advance
    I guess this is not and option either or do I have to purchase one of your paid modules to get it to work? Scott you are not ignoring me are you? I feel like this should work some how.

    buy any item from any category and get 50% off any other item from any other category
    Last edited by countrycharm; 30 May 2012 at 09:19 PM.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

 

 
Page 54 of 70 FirstFirst ... 444525354555664 ... 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