Hello,
I am using **MyListing 3.1** together with **{CODICTS} MyListing Limited Promotions 1.8.3**.
The plugin itself appears to be working correctly. The slot limits are correctly configured for my listing types, and the backend correctly calculates and displays the **“Current used slots”** values.
However, there is one specific issue:
**The “Slots available: X” information is no longer displayed in the frontend package selection.**
This affects **all listing types**.
The actual slot availability/restriction functionality appears to be working correctly. The problem is specifically that the **“Slots available: X” text is not being displayed**.
I have checked my child theme’s `choose-package.php`. The CODICTS integration code is present, including:
“`php
$returned = CodictsMyListingLimitedPromotions_functions::get_slots_available(
$product->get_id(),
false,
‘featured’
);
$is_restricted = $returned[‘is_restricted’];
$is_available = $returned[‘is_available’];
$slots_available = $returned[‘slots_available’];
“`
and the corresponding output:
“`php
printf(
_x(
‘Slots available: %s’,
‘Package selection’,
‘codicts-mylisting-limited-promotions’
),
$slots_available
);
“`
The relevant code only displays the text when `$is_restricted` is true. The slot limits themselves are correctly configured and the plugin correctly tracks the used slots, but the **“Slots available” text does not appear in the package selection**.
### My setup
– **MyListing:** 3.1
– **{CODICTS} MyListing Limited Promotions:** 1.8.3
– Custom MyListing child theme
– CODICTS code present in `choose-package.php`
Could you please check whether **Limited Promotions 1.8.3 is fully compatible with MyListing 3.1**, particularly regarding the `get_slots_available()` function and the `$is_restricted` value?
I am not looking to change the plugin code myself. I would prefer an official fix or an updated version if this is a compatibility issue with MyListing 3.1.
Thank you for your help.
Support is included with an active license.
There are no results matching your search
Can we use analytics cookies?
Google Analytics shows us how people use the site, so we can improve it. It only runs if you allow it. Privacy Policy