开发者 | elvinhaci |
---|---|
更新时间 | 2024年12月21日 19:11 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
cartlink-generator
plugin folder./wp-content/plugins/
on your server.By default, the CartLink Generator menu is added as a top-level menu. To move it under the WooCommerce submenu, add the following code to your theme's functions.php
file:
define( 'GUAVEN_CARTLINK_GENERATOR_SHOW_IN_SUBMENU', true );
Yes! To redirect customers to the Cart page after using a generated link, add this code to your theme's functions.php
file:
define( 'CARTGENERATOR_REDIRECT_TO_CART_INSTEAD_OF_CHECKOUT', true );
This modifies the redirection logic, allowing you to choose between the cart or checkout page.
By default, the plugin stores cart data in date-based folders using a file-based pseudo-transient system. If you prefer to use WordPress native transients, define the following constant in your theme's functions.php
file:
define( 'GUAVEN_CARTLINK_GENERATOR_USE_REAL_TRANSIENTS', true );
By default, coupons are restricted for carts generated by the plugin. To enable coupon usage for these carts, define the following constant in your theme's functions.php
file:
define('GUAVEN_CARTLINK_GENERATOR_ALLOW_COUPONS', true);
The plugin automatically deletes expired carts' data created by the plugin itself. This ensures that storage remains efficient and uncluttered.