Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2020
    Location
    Novato, CA, USA
    Posts
    1
    Plugin Contributions
    0

    Default product stock status text showing in Hosted Pages details

    The Payeezy JS v1 Module is stopping 03-15-2020
    I have got First Data Hosted Checkout Payment Pages to work.
    But it shows:
    <div class="stock-wrapper"><div class="stock-msg in-stock">In Stock</div></div>Size: No. 6

    I called first data and they show it is coming in on variable x_line_item

    I can not figure out what file the div tags are in.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: product stock status text showing in Hosted Pages details

    See https://github.com/zencart/zencart/b....php#L281-L283

    It comes from the name of the product, which I'm guessing is being added-to by some custom mod on your site?

    $order->products[$i] gets set from $_SESSION['cart']->get_products()

    https://github.com/zencart/zencart/b....php#L476-L486

    And there are notifier hooks at various points in the code where a plugin/mod might be intercepting/updating the product details to display stock information.
    .

    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
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,571
    Plugin Contributions
    30

    Default Re: product stock status text showing in Hosted Pages details

    Probably that's Products Options Stock Manager adding those tags.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: product stock status text showing in Hosted Pages details

    Quote Originally Posted by torvista View Post
    Probably that's Products Options Stock Manager adding those tags.
    That's what it looks like to me, too.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 14 Aug 2012, 04:00 PM
  2. Replies: 8
    Last Post: 4 May 2012, 08:17 PM
  3. Replies: 5
    Last Post: 3 Aug 2011, 08:15 AM
  4. Display text or image “IN STOCK” on product pages up the top?
    By apemusic in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 3 Jul 2007, 03:07 PM
  5. How do I display the text IN STOCK on all product pages?
    By apemusic in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Jun 2007, 01:56 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