Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Aug 2007
    Location
    New York State & Cape Town
    Posts
    76
    Plugin Contributions
    0

    Default Adding Text above PayPal Express button

    I have just installed PayPal Express in my store..

    I have a service company and both sell products for customers to install themselves and also sell products that we deliver and install.

    I don't want to take Paypal express as payment for any items that we are not personally installing for the customer at there premises.

    Reason being:
    There is NO seller protection for PayPal sellers if the customer is in South Africa.
    Customers we sell and install are a LOT less likely to be fraudsters.

    With that said.. I would like to add a same text above the Express Checkout button that is displayed on

    index.php?main_page=shopping_cart
    (Your Shopping cart Contents page)

    Putting a note about it saying:
    "PayPal express checkout is available only for customers purchasing Installations. All other customers please choose 'go to checkout'."

    I can't for the life of me figure out where to put this text. Could someone please tell me what file/line of what file I need to add this text to??

    I'm literally going crazy with this.


    Thanks for the help.

    Rich

  2. #12
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Adding Text above PayPal Express button

    Use the developers toolkit in the Admin.

    Search on the text already above the PayPal express checkout section (at least part of it).

    That will brig up a list of the language files which contain the information you need to edit in order to work with the text.

    Just add your disclaimer where you need it in that file.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  3. #13
    Join Date
    Aug 2007
    Location
    New York State & Cape Town
    Posts
    76
    Plugin Contributions
    0

    Default Re: Adding Text above PayPal Express button

    Quote Originally Posted by econcepts View Post
    Use the developers toolkit in the Admin.

    Search on the text already above the PayPal express checkout section (at least part of it). ....

    That's the problem ~ there is no test above it. I've got:

    "back to shopping" button on the left
    "go to checkout" button on the right

    and a big yellow Check out with Paypal button below "go to checkout"

    I need to place my conditions for using PP express above the button.
    (Which also makes it below the "go to checkout" button a/k/a button_checkout.gif)

    So there is no text to search

  4. #14
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: I want to disable Paypal Express for Some Sales

    /includes/modules/payment/paypal/tpl_ec_button.php
    insert your custom text as shown:
    Code:
    <div id="PPECbutton" class="buttonRow">
    <p>INSERT CUSTOM TEXT HERE</p>
      <a href="<?php echo zen_href_link('ipn_main_handler.php', 'type=ec', 'SSL', true, true, true); ?>"><img src="<?php echo MODULE_PAYMENT_PAYPALWPP_EC_BUTTON_IMG ?>" alt="<?php echo MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT; ?>" /></a>
    </div>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Aug 2007
    Location
    New York State & Cape Town
    Posts
    76
    Plugin Contributions
    0

    Default Re: I want to disable Paypal Express for Some Sales

    Wow!!
    That worked great!

    I was totally lost and literally going crazy trying to get this right.

    THANK YOU SO MUCH!
    I really really appreciate your help!!


    Rich

  6. #16
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: I want to disable Paypal Express for Some Sales

    You can edit that same file to insert logic to skip the button if cart contents includes the virtual product you want to not allow PP for.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #17
    Join Date
    Aug 2007
    Location
    New York State & Cape Town
    Posts
    76
    Plugin Contributions
    0

    Default Re: I want to disable Paypal Express for Some Sales

    Quote Originally Posted by DrByte View Post
    You can edit that same file to insert logic to skip the button if cart contents includes the virtual product you want to not allow PP for.
    Thats exactly what I'm trying to do.. not use PP on Virtual Products.

    As for insert logic, I stand a much better chance of walking on water or levitating before I figure that one out.

    How difficult is it? Is there like a little thing you can post that wouldn't take you more then a minute?

    This is like learning how to swim in the deep side of the swimming pool.

    Trying to stay on topic: This will probably come up regarding the Google CO module also. As Google will not cover sellers of virtual products/downloads.

    Thank you for the reply and help.

    Rich
    Last edited by rich_li_ny; 27 Oct 2007 at 09:23 PM.

  8. #18
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: I want to disable Paypal Express for Some Sales

    At the top of that same file is a line like this:
    Code:
    $paypalec_enabled = (defined('MODULE_PAYMENT_PAYPALWPP_STATUS') && MODULE_PAYMENT_PAYPALWPP_STATUS == 'True');
    Add this line directly below it:
    Code:
    if ($_SESSION['cart']->in_cart_check('products_virtual')) $paypalec_enabled = false;
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. want to restrict paypal and paypal express from speicific products
    By letsmod in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 3 May 2012, 02:02 AM
  2. what will happen if i disable paypal express checkout?
    By tesefoti in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 8 May 2011, 06:49 PM
  3. Re: I want to disable Paypal Express for Some Sales
    By airjacobs in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 10 Aug 2010, 04:22 PM
  4. Want to skip coupon option for PayPal Express Checkout users
    By emtecmedia in forum PayPal Express Checkout support
    Replies: 0
    Last Post: 28 Jan 2009, 06:38 AM
  5. ZC may fail to charge sales tax in some cases with PayPal Express Checkout 1.3.7
    By DanTheMan in forum PayPal Express Checkout support
    Replies: 0
    Last Post: 17 Dec 2007, 05:34 AM

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