Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Nov 2005
    Location
    France
    Posts
    595
    Plugin Contributions
    8

    Default POSM Stock issue

    Site is running Zen Cart 2.0.1 and has POSM v5.0.0

    I've noticed that when a variant is set as zero stock in admin it doesn't display as Out Of Stock on the store side.
    @lat9 - Is this normal behaviour for POSM?
    Managing Director of https://jsweb.uk

    Zen Cart developer since 2009

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,335
    Plugin Contributions
    94

    Default Re: POSM Stock issue

    Quote Originally Posted by strelitzia View Post
    Site is running Zen Cart 2.0.1 and has POSM v5.0.0

    I've noticed that when a variant is set as zero stock in admin it doesn't display as Out Of Stock on the store side.
    @lat9 - Is this normal behaviour for POSM?
    Just checked zc210/POSM-6.0.0 and a 0-stock variant (once all dependent attributes are selected) properly shows out-of-stock.

  3. #3
    Join Date
    Nov 2005
    Location
    France
    Posts
    595
    Plugin Contributions
    8

    Default Re: POSM Stock issue

    "once all dependent attributes are selected" suggested that you have to select a variant before it shows as OOS which wasn't really ideal.
    I made a custom function and modified attributes.php instead so that individual variants are marked OOS and the radio button for that variant is disabled.

    I'll also check out original functionality when I get chance to set up a ZC210 test environment.
    Managing Director of https://jsweb.uk

    Zen Cart developer since 2009

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,443
    Plugin Contributions
    11

    Default Re: POSM Stock issue

    Two interesting things with 2.1.0 and POSM

    Bootstrap and OPC are current.

    First, a new install at enightlightsDOTcom that looks fine on the desktop and all mobile emulators I've tried look fine. But, when I look at the options on a mobile phone (iPhone), it matters not whether you select suncatcher or nightlight, all the options are presented. Granted, you cannot select non-appropriate options but their appearance in the choose dropdown is confusing.

    Second, is an update from 1.5.7c to latest 2.1.0 with latest Bootstrap and OPC. When trying to run the SBA to POSM feauture, there are no logs displayed but one is created that states:
    Code:
    [01-Feb-2025 01:25:46 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "POSM_CURRENT_VERSION" in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php:148Stack trace:
    #0 /home/topkathe/_test/jetmar_TopK/index.php(28): require()
    #1 {main}
      thrown in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php on line 148
    
    
    [01-Feb-2025 01:25:46 UTC] Request URI: /jetmar_TopK/index.php?cmd=tool_convert_sba2posm, IP address: 216.177.186.199
    --> PHP Fatal error: Uncaught Error: Undefined constant "POSM_CURRENT_VERSION" in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php:148
    Stack trace:
    #0 /home/topkathe/_test/jetmar_TopK/index.php(28): require()
    #1 {main}
      thrown in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php on line 148.
    
    
    [01-Feb-2025 01:25:46 UTC] Request URI: /jetmar_TopK/index.php?cmd=tool_convert_sba2posm, IP address: 216.177.186.199
    --> PHP Fatal error: Uncaught Error: Undefined constant "POSM_CURRENT_VERSION" in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php:148
    Stack trace:
    #0 /home/topkathe/_test/jetmar_TopK/index.php(28): require()
    #1 {main}
      thrown in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php on line 148.
    If that variable is defined, the next log is:
    Code:
    [01-Feb-2025 04:20:40 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "POSM_CURRENT_UPDATE_DATE" in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php:148
    Stack trace:
    #0 /home/topkathe/_test/jetmar_TopK/index.php(28): require()
    #1 {main}
      thrown in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php on line 148
    
    
    [01-Feb-2025 04:20:40 UTC] Request URI: /jetmar_TopK/index.php?cmd=tool_convert_sba2posm, IP address: 216.177.186.199
    --> PHP Fatal error: Uncaught Error: Undefined constant "POSM_CURRENT_UPDATE_DATE" in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php:148
    Stack trace:
    #0 /home/topkathe/_test/jetmar_TopK/index.php(28): require()
    #1 {main}
      thrown in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php on line 148.
    
    
    [01-Feb-2025 04:20:40 UTC] Request URI: /jetmar_TopK/index.php?cmd=tool_convert_sba2posm, IP address: 216.177.186.199
    --> PHP Fatal error: Uncaught Error: Undefined constant "POSM_CURRENT_UPDATE_DATE" in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php:148
    Stack trace:
    #0 /home/topkathe/_test/jetmar_TopK/index.php(28): require()
    #1 {main}
      thrown in /home/topkathe/_test/zc_plugins/POSM/v6.0.0/admin/tool_convert_sba2posm.php on line 148.
    defining both still results in a PBP.

    Display logs have to be ferreted from the logs directory as they do not show up in the admin even when turned on

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,443
    Plugin Contributions
    11

    Default Re: POSM Stock issue

    Having the same results with 6.1.0

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,443
    Plugin Contributions
    11

    Default Re: POSM Stock issue

    With 6.1.0, I continue to have problems either getting the second item to appear or migrating from SBA.

    Is there no location for detailed instructions? Not that I will comprehend, but...

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,335
    Plugin Contributions
    94

    Default Re: POSM Stock issue

    Quote Originally Posted by dbltoe View Post
    With 6.1.0, I continue to have problems either getting the second item to appear or migrating from SBA.

    Is there no location for detailed instructions? Not that I will comprehend, but...
    GitHub updated, see https://github.com/zencart/zencart/issues/6973

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,443
    Plugin Contributions
    11

    Default Re: POSM Stock issue

    I can report that the changes have fixed all my desktop issues

    We all owe lat9 a lot of gratitude for bringing this to the core.

    Our big customer has had problems for years in that they were reusing product IDs thinking they might run out. Over the last three years, we have slowly been fixing non-existant, and missing/deleted options as they showed up in log files. The converter found all the non-existant products and those with missing options in a flash.

    Be sure to read the instructions and fix all problems prior to clicking on that submit button.

    The only remaining minor glitch is when selecting product options on an iPhone. In my case, and iPhone 16 Pro Max. Note that this does not show up in any of the mobile emulators I've tried.

    Re: https://enightlightsDOTcom/index.php...products_id=78 (replace DOT with . )

    First Choose "Suncatcher"

    When clicking on Next Choose, the Product Options on a Desktop correctly show "No Suction Cup...) and "Suction Cup...)

    On a mobile with Suncatcher chosen for Product Options, pressing Next Choose shows the two suction cup options AND the three options for a nightlight. The extra options appear to be dimmed and clicking on them has no effect. So, it appears that one cannot make a bad option selection. Especially with the options set to required.

    The CSS shows the correcct "display: none;" on a desktop but it is not being recognized on the iPhone in portrait or landscape.
    Attached Images Attached Images  

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,335
    Plugin Contributions
    94

    Default Re: POSM Stock issue

    Quote Originally Posted by dbltoe View Post
    I can report that the changes have fixed all my desktop issues

    We all owe lat9 a lot of gratitude for bringing this to the core.

    Our big customer has had problems for years in that they were reusing product IDs thinking they might run out. Over the last three years, we have slowly been fixing non-existant, and missing/deleted options as they showed up in log files. The converter found all the non-existant products and those with missing options in a flash.

    Be sure to read the instructions and fix all problems prior to clicking on that submit button.

    The only remaining minor glitch is when selecting product options on an iPhone. In my case, and iPhone 16 Pro Max. Note that this does not show up in any of the mobile emulators I've tried.

    Re: https://enightlightsDOTcom/index.php...products_id=78 (replace DOT with . )

    First Choose "Suncatcher"

    When clicking on Next Choose, the Product Options on a Desktop correctly show "No Suction Cup...) and "Suction Cup...)

    On a mobile with Suncatcher chosen for Product Options, pressing Next Choose shows the two suction cup options AND the three options for a nightlight. The extra options appear to be dimmed and clicking on them has no effect. So, it appears that one cannot make a bad option selection. Especially with the options set to required.

    The CSS shows the correcct "display: none;" on a desktop but it is not being recognized on the iPhone in portrait or landscape.
    That's going to be "difficult" for me to debug, since I don't allow any iStuff in my house.

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,443
    Plugin Contributions
    11

    Default Re: POSM Stock issue

    I tried to give as much information as possible as I was aware of your allergy to all things Apple.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Stock by Attribute v1.4.13 install issue
    By d2md in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 22 Sep 2011, 04:58 PM
  2. Stock by Attributes Issue
    By AGeekInABox in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 19 Jul 2011, 06:13 PM
  3. Out of Stock issue
    By split63 in forum Basic Configuration
    Replies: 4
    Last Post: 23 Feb 2011, 01:34 AM
  4. Stock By Attributes installation issue
    By dirntknow in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 19 Nov 2010, 11:46 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