Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default removing unit price, and quantity from paypal page

    Hi,

    V.1.3.9H
    tesoreriabahai dot org

    I have hidden the product unit price, and quantity in zen cart, but I noticed that when using paypal express, on the review (final) page in paypal they are shown, is there some way to hide them, and leave only the total amount?

    Thank you

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: removing unit price, and quantity from paypal page

    Why are you hiding prices from your customers?
    .

    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.

  3. #3
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: removing unit price, and quantity from paypal page

    Not really hiding, the site is to have contributions (donations), and only members of the bahá'í faith can contribute, and I followed kuroi's suggestion here:
    http://www.zen-cart.com/forum/showthread.php?t=181682

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: removing unit price, and quantity from paypal page

    So, you're trying to hide the 1 EURO unit price so that the only thing showing is the total amount they're buying?
    It the 1 EURO price really confusing people? It only shows in that one place. Everywhere else in the PayPal process it's going to show the aggregate final purchase amount, and the customer will always be confirming the final amount, and not the individual unit price.

    I think this is the first time someone has ever *wanted* to hide the unit price ... everyone else has begged for *showing* the unit price with all the line-item details.
    There are lots of sites using the same donation approach as kuroi described, and they don't seem to be bothered by the unit price being displayed.

    To do what you're asking, while not recommended, can be accomplished by editing /includes/modules/payment/paypalwpp.php and adding an extra line as shown:
    Code:
      function getLineItemDetails($restrictedCurrency) {
        return array();
        global $order, $currencies, $order_totals, $order_total_modules;
    .

    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. #5
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: removing unit price, and quantity from paypal page

    It the 1 EURO price really confusing people?
    Well the site, though being live, is not yet known by the potential users, hence I don't know how confusing it can be, I'm assuming, and trying to make as plain as possible.

    Anyhow, if you do not recommended I guess I'd better leave it as it is, since you know better.
    Would it be possible to add a css rule to not display it, so the code is not altered, if yes can you please give me the right syntax, and where to insert it?

    Thank you.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: removing unit price, and quantity from paypal page

    If you're asking about using CSS for hiding something from display while on the PayPal website, I'm sorry, I can't help you. That's under their control.

    Once the customer gets to the PayPal site, the display is up to PayPal. You can change colours and graphics there, but CSS is another story.
    .

    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. #7
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: removing unit price, and quantity from paypal page

    I thought I could have put it in the /includes/modules/payment/paypalwpp.php
    But obviously I thought wrong.

 

 

Similar Threads

  1. Removing price unit during checkout for wholesale purpose
    By wzch25 in forum Managing Customers and Orders
    Replies: 3
    Last Post: 24 Aug 2011, 04:09 PM
  2. Unit price to change based on quantity
    By dharrison in forum General Questions
    Replies: 27
    Last Post: 12 Jun 2011, 11:55 PM
  3. Unit Price combines quantity and attribute costs?
    By Crunch in forum General Questions
    Replies: 2
    Last Post: 8 Feb 2010, 10:17 AM
  4. Product Quantity adn unit price
    By charlesblake in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 12 Sep 2009, 10:25 PM
  5. removing UNIT from cart
    By Linux in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Feb 2009, 04:29 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