Results 1 to 5 of 5

Hybrid View

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

    Default products_id in brackets in PayPal order summary

    Is there any way to make the products_id not show up in the PayPal order summary? It seems like it will be confusing to the customer, maybe they will think that is the quantity they have ordered or something. I have attached a screenshot to illustrate what I am talking about. Where it says Sandblasted Jar - Medium [2] I would like it to just say Sandblasted Jar - Medium. The products_id for this product is 2.
    Name:  Clipboard01.jpg
Views: 324
Size:  7.2 KB
    I have not upgraded or installed any addons/contributions. I am using the PayPal Express Checkout payment module. One-click install(softaculous) . I've created a custom template but tried the Classic template also and it has the same problem. Thanks!

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

    Default Re: products_id in brackets in PayPal order summary

    There's no "built in switch" to flip to change that.
    Why do you think it will be confusing to them? It specifically says the quantity below, and the final price shows the details correctly also.

    Are you wanting to rewrite the PHP code?
    .

    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
    Dec 2012
    Posts
    5
    Plugin Contributions
    0

    Default Re: products_id in brackets in PayPal order summary

    Well it confused me until I realized that it was the products_id, and of course the customer will never figure that out. I guess I'm just being picky but I just don't think it enhances the shopping experience in any way. I wouldn't mind rewriting the php code if I could figure out where the products_id is added to the product name and then passed to PayPal. I looked at the code for the module but wasn't able to figure it out. So if you have any advice I'd be grateful, thanks.

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

    Default Re: products_id in brackets in PayPal order summary

    /includes/modules/payment/paypalwpp.php around line 1192:
    Code:
          $optionsLI["L_NAME$k"]   = $order->products[$i]['name'] . ' [' . (int)$order->products[$i]['id'] . ']';
    Instead of deleting it, perhaps it might be useful to say what it is.

    When your product ID numbers are much larger it may be more meaningful to you and your customers.
    The reason the ID was added was to help differentiate between products with similar names, which is not an uncommon thing in larger stores.
    .

    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
    Dec 2012
    Posts
    5
    Plugin Contributions
    0

    Default Re: products_id in brackets in PayPal order summary

    Thank you! I really appreciate it. I'm pretty sure the Item number field will be enough to differentiate for my particular application but everyone has different needs of course. I appreciate the explanation of the why though. You're awesome DrByte!

 

 

Similar Threads

  1. Paypal express checkout removes the vat from the total when on order summary
    By tyreandgo in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 1 Oct 2015, 11:34 PM
  2. v154 Paypal Your order summary is 0 empty, shopping in KR
    By SonarScope in forum PayPal Express Checkout support
    Replies: 21
    Last Post: 25 Aug 2015, 02:07 PM
  3. v151 paypal express checkout order summary currency issue
    By spitty in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 10 Feb 2013, 05:47 AM
  4. Order Summary is empty
    By skywalker826 in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 11 May 2011, 04:38 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