Pages are loading slowly #
This could be for a few reasons:
- Make sure you have a good web host. We recommend our web hosting, Nexcess, Magemojo, or higher priced Host Gator or Siteground plans.
- Is your cache enabled? Check admin > system > cache management and make sure all caches are enabled
- Sometimes the speed will be slow on a new site as the cache is built or the static content files are copied to the pub folder. You can speed up the static content deployment by running in ssh / shell:php bin/magento setup:static-content:deploy
The calendar is not loading #
This is usually a browser cache issue, or because you need to re-deploy your static contents.
- First try clearing your browser cache. If using Google Chrome, a fast way to do this is to right click on the page and choose “inspect element” then click (but hold down the mouse) on the refresh button and choose empty cache and hard reload.
- If that doesn’t work, try re-deploying your static contents in ssh / shell. use the command:php bin/magento setup:static-content:deploy
Disable JavaScript Merging and Bundling #
JavaScript merging and bundling can often cause the calendar to not load properly. This can be checked while in developer mode at store > config > advanced > developer > javascript settings. After you change this setting and disable it make sure to flush the cache at system > cache flush all, as well as button at the bottom of the page “Flush JavaScript/CSS Cache”.
If you are already in production mode please run these commands:
bin/magento config:set dev/js/merge_files 0
bin/magento config:set dev/js/minify_files 0
bin/magento cache:clean
bin/magento setup:static-content:deploy
No Dates Are Available On The Calendar #
Please check that:
1) There is inventory for the product
2) The rental calendar setting is enabled on edit product
3) Rentals > settings > Max / Min Rental Period > Check all these settings. For example if you have Max period from now a reservation can be started or ended set to a very low length of time, there may already be reservations until then. Like if you set it to 10 days and you have bookings for 2 weeks, then all days on the calendar will be disabled.
Inventory is not being reserved #
Check admin > rentals > settings > inventory usually you will want the “reserve inventory without any invoice” set to yes. If it is no, this could be the reason. The reason you will want this set to yes is that not all payment methods automatically invoice an order (such as cash on delivery, check/money order, or authorize.net if it is set to “authorize only”).
Admin Is Not Getting Copy of Order Emails #
Make sure you have yourself in the Bcc list in admin > stores > configuration > sales emails > send order email copy to, by default admin does not get order emails when customers place an order, you need to add your email address there.
Customers Are Not Getting Order Emails #
Check that admin > stores > configuration > sales > sales emails > general settings > Asynchronous Sending is set to disabled, otherwise your customers will not get an email until your Magento cron runs, if your cron is not setup properly they will never get an order email.
Disabling the rental module causes an error on the site #
The error message is something like: Fatal error: Uncaught Error: Cannot instantiate interface SalesIgniter\Rental\Api\InventoryGridRepositoryInterface in /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php on line 73
To fix this you will first need to re-enable the rental module, then delete the Calendar Widget anywhere you have added it to your web pages in admin > content > pages, blocks, or widgets area.
Compile Error for Magento 2.3.x #
If you are running Magento 2.3.x you may get a compile error when running bin/magento setup:di:compile. This is because our rental extension targets Magento 2.4.x and there is a class that has different constructor arguments which is not backward compatible. Magento 2.3.x has been deprecated and no longer gets security updates since September 2022 and uses an older version of PHP 7.4 which also is not updated for security anymore, so if possible please upgrade to Magento 2.4.x (as of writing 2.4.6). If this is not possible. If it is not possible to update you can get the compile to work by doing the following manual changes:
Delete vendor/salesigiter/releaserental2/Model/Order/Pdf (folder and all sub-folders and files)
Comment out in vendor/salesigniter/releaserental2/etc/di.xml the following lines like this, notice the <!– and –> tags before and after:
<!-- <preference for="Magento\Sales\Model\Order\Pdf\Items\Shipment\DefaultShipment" type="SalesIgniter\Rental\Model\Order\Pdf\Items\Shipment\DefaultShipment"/>
<preference for="Magento\Sales\Model\Order\Pdf\Items\Invoice\DefaultInvoice" type="SalesIgniter\Rental\Model\Order\Pdf\Items\Invoice\DefaultInvoice"/>
<preference for="Magento\Sales\Model\Order\Pdf\Shipment" type="SalesIgniter\Rental\Model\Order\Pdf\Shipment"/>
<preference for="Magento\Sales\Model\Order\Pdf\Invoice" type="SalesIgniter\Rental\Model\Order\Pdf\Invoice"/>
<preference for="Magento\Bundle\Model\Sales\Order\Pdf\Items\Invoice" type="SalesIgniter\Rental\Model\Order\Pdf\Bundle\Invoice"/>-->
Now try compiling it should without errors.