Rental Products: Known Issues and Compatibility

In this guide, you will find a list of known compatibility issues for the Rental Products for WooCommerce plugin, including the cause and a potential fix/workaround if that’s available.

Note: Our plugin should work well with nearly all WooCommerce plugins. If you are a user (or plugin developer) facing issues while using Rental Products for WooCommerce and/or looking to improve the compatibility between Rental Products and another plugin, don’t hesitate to reach out to support!

IssueCauseFix
Availability checker dates/quantities selected are lost and/or become incorrect when browsing through different pages.The availability checker dates/quantities have been cached.Try using the availability checker AJAX mode from the availability checker section of the Rentals > Settings > Advanced page.
Cart/checkout displays an error stating product has recently been updated and pricing/availability may have changed, and can not checkout until product is removed from cart.Rental product was added to cart, but since then has been updated.This is expected behaviour when the product updated restrictions setting is enabled in the Rentals > Settings > Advanced page, under the Orders section. Consider disabling this in some limited scenarios. See the related information for the product updated restrictions setting from the Advanced settings section.
Rental form on product pages and/or availability checker does not work, such as the calendar does not open when clicking the rental dates field.jQuery is undefined and/or general JavaScript errors. jQuery can be undefined if you have enabled any optimization/performance related settings in a plugin or your hosting, these can sometimes move where jQuery is enqueued to the bottom of the website. General JavaScript errors can also cause this issue, as after an error occurs no further JavaScript can function.Some troubleshooting steps to try:Disable any optimization/performance related settings.Enable settings one by one to find the root cause.Check your website for any JavaScript errors in your browser dev tools. Fix any JavaScript errors – these will likely be coming from other extensions, plugins, or your theme.
Rental form on product pages is displayed oddly or does not fit well.CSS layout rules, likely coming from the theme/page builder.Try using a different rental form layout from the Rental form settings section in the Rentals > Settings > Rental form page..
Rental form on product pages not functioning as expected, shows error code PRODRFU0.Nonce number generated to validate form submission is invalid or has expired. Generally occurs due to a caching mechanism.2: Product/variation id data is missing from the add to cart elements on the product page. The rental form uses these to query the product for rental pricing/availability.If this data is unavailable, the rental form cannot determine which product to query and shows this error. Generally occurs due to override/manipulation of the standard WooCommerce add to cart elements.Try deactivating any caching plugins and/or caching in your hosting. If you find the issue only occurs when caching is active, ensure that caching is disabled for logged in users, which is generally the default configuration used by caching mechanisms. If you still experience issues after doing this, try setting any cache lifespans to 10 hours or less. Check out this documentation for more information. Note that this link is for the WP Rocket plugin, however, the principle described applies to any caching mechanism used.2: For simple type products, ensure .cart button[name="add-to-cart"] is included in the page and has the product id as the value. For variable type products, ensure the .cart input[name="product_id"] and .cart input[name="variation_id"] elements are included in the page and that they have the product/variation id as the values. WooCommerce has these elements by default, however, in some limited scenarios, your theme or other functionality may have overridden or replaced these elements.
Rental or purchase toggle does not display.Some themes/page builders are missing a core WooCommerce hook on the product page.Reinstate the missing hook or use the rental or purchase toggle shortcode. See the related information linked in the rental or purchase toggle settings section.
Rental order item data missing, such as rent from/to dates.Some payment methods enable quick-pay functionality, such as buy now buttons on product pages. Depending on the integration, the standard cart/checkout process may get bypassed, resulting in missing rental data, which in turn may cause further issues.Consider disabling the functionality entirely or alternatively disabling this functionality only for rental products by hiding the quick-pay methods on rental products with some custom CSS. Target the element based on the rental product body class of wcrp-rental-products-is-rental.
Rental products cannot be added to cart, shows error code CARTADD0.Nonce number generated to validate form submission is invalid or has expired. Generally occurs due to a caching mechanism.Try deactivating any caching plugins and/or caching in your hosting. If you find the issue only occurs when caching is active, ensure that caching is disabled for logged-in users, which is generally the default configuration used by caching mechanisms. If you still experience issues after doing this, try setting any cache lifespans to 10 hours or less. See this documentation for more information. Note that this link is for the WP Rocket plugin, however, the principle described applies to any caching mechanism used.
Rental products cannot be added to cart, shows error code CARTADD1.The add to cart method used does not pass all the required rental form data to the cart.If this issue occurs when adding to cart from a product page, then the standard WooCommerce add to cart form may not be being used. If that’s the case, you can start by asking your theme/page builder support for clarity on they are using it, and if not, how to reinstate it. If there are other means of adding rental products to cart outside the product page, it is likely your theme/page builder, extension/plugin, or custom development is adding add to cart links/buttons that technically should not be there as rental products cannot be added to cart outside the product page. In this scenario, discuss the issue with the developers responsible to see if they can be conditionally hidden/removed if the product is a rental.
Rental products cannot be added to cart, shows error code CARTADD1, specifically when using an AJAX add to cart method.The AJAX add to cart method used does not pass all the required rental form data to the cart.Consider using AJAX Add to Cart for WooCommerce as an alternative.
Rental products cannot be added to cart, shows error code CARTADD2.Rental form data was manipulated before transit.None required, this error ensures rental form data being passed to the cart has not been manipulated.
Shipping integration automatically sets orders to completed causing rentals to be marked as returned.Some shipping integrations automatically set orders to the completed status upon dispatch.Consider disabling the return rentals in completed orders setting or disable the automated order status change in the shipping integration, if possible only for orders containing rentals.

More information

↑ Back to top

Do you have more questions? You can click here to return to the Rental Products for WooCommerce’s Getting Started table of contents.

You didn’t find what you were looking for? We’d love to hear from you and help you with any questions you have.