Skip to content
OpenCart · User manual

Gift Products PRO

Version 1.1.1 Product page
Chapter 8

Troubleshooting

The problems you are most likely to meet with Gift Products PRO, with their cause and their fix.

Installation and administration

Gift Products PRO is not in the Modules list

  • Check that you installed the package of your OpenCart family. See Installation.
  • On OpenCart 2.x, check that the installer finished without an FTP error.
  • On OpenCart 1.5, check that the files were copied into your real administration folder if you renamed admin.
  • On OpenCart 4, check that you clicked the install button in Extensions > Installer before looking in the Modules list.

You do not have permission to modify this extension

Your user group lacks permission for the module. Go to System > Users > User Groups, edit your group and tick the entry that ends in gift_products_pro in both the access and the modify lists, then save.

The licence service is unavailable. Try again later.

The administration could not reach devmanextensions.com.

  • Ask your hosting provider to confirm that the PHP cURL extension is enabled.
  • Ask them to confirm that the server allows outgoing HTTPS connections and has up-to-date root certificates. The connection is made with certificate verification.
  • Try again after a few minutes.

The shop front is not affected: it does not use the licence service.

The licence is registered for another domain

The licence was first validated on a different domain. Use the link in the message to add the new domain to your licence. See Licence activation.

My campaigns disappeared after I saved the status

The two parts of the screen are saved separately. Campaign changes that were not saved with the blue button at the top right are lost when you click Save under General configuration. Save the campaigns first, then change the status.

The campaign cannot be saved

See the messages in Campaigns. The most frequent causes are a campaign without a name, without any qualifying product, category or manufacturer, or without a gift product, and a gift product whose minimum quantity is greater than one.

The gift window does not appear

Check these points in order:

  1. Extension status is Enabled and the campaign has Active on Yes.
  2. On OpenCart 2.x and 3.x, you refreshed Extensions > Modifications after installing. On OpenCart 3, also refresh the theme cache with the gear button on the dashboard.
  3. Today's date is inside the campaign's Start date and End date.
  4. The cart contains a paid product that matches the campaign. For categories, the product must be assigned to a ticked category.
  5. The paid products reach the Minimum amount after coupons, with the tax basis you selected.
  6. Your customer group is ticked. If you are testing without logging in, the group marked (guests) must be ticked.
  7. At least one gift product is enabled and has a quantity of one or more.
  8. The cart does not already hold a gift from that campaign.
  9. Your theme prints the window. See the theme notes in Compatibility and languages. On OpenCart 3 with a theme other than the default theme or Journal 3, add the {{ gift_products_pro_popup }} line to the theme's footer template.
  10. The page loads jQuery and the browser console shows no JavaScript error from another script.

Gifts in the cart

The gift was removed from the cart

This is the expected result when the cart stops qualifying. See the list of reasons in Gifts in the shop. The most frequent ones are a coupon that takes the cart below the minimum, the removal of the qualifying product and a gift that ran out of stock.

The gift is offered again on a later visit

A gift belongs to the browsing session in which it was chosen. When a logged-in customer comes back in a new session, the gift left in the saved cart is removed and the window offers it again.

The shopper sees "This gift is no longer available"

The cart changed between the moment the window opened and the moment the shopper clicked the button, or the gift ran out of stock. Reloading the page shows the current offer.

The gift line has no GIFT label

The label is added to the Journal 3 cart and checkout templates on OpenCart 3. On other themes the gift is shown as a normal line with a price of zero.

Error messages in the shop

These messages come from the cart adapter used on OpenCart 1.5–2.3 and 4.x.

MessageCause and fix
Gift Products PRO requires a cart adapter for this custom cart class.Another extension replaced OpenCart's cart class with one of its own. Disable Gift Products PRO or that extension, and open a support ticket to have the combination reviewed.
Gift Products PRO cache is not writable. or Gift Products PRO cache write failed.The OpenCart cache directory cannot be written. Give the web server write permission on the cache directory set as DIR_CACHE in your config.php.
Gift Products PRO native cart anchor mismatchThe cart file of your shop was changed in a way the adapter does not recognise, usually by another modification. Disable the most recently installed cart modification to confirm, then open a support ticket.

On OpenCart 2.x and 3.x, modification errors are also written to the log shown in Extensions > Modifications, in the Log tab.

Getting help

If the problem remains, open a support ticket. Include:

  • your OpenCart version and PHP version;
  • the theme and checkout extension you use, with their versions;
  • the exact message you see and where it appears;
  • the campaign settings and the cart contents that reproduce the problem.

Still need help?

Open a support ticket from your account and our team will look at your store with you.