WooCommerce Coupon Shortcodes

Por itthinx
(16 avaliações)
Baixar
  • Versão:
    2.6.0
  • Última atualização:
    há 2 meses
  • Instalações ativas:
    mais de 1.000
  • Versão do WordPress:
    6.2 ou maior
  • Testado até o WordPress:
    6.6.1
  • Versão do PHP:
    7.4 ou maior

Hospedagem WordPress com plugin WooCommerce Coupon Shortcodes

Onde hospedar o plugin WooCommerce Coupon Shortcodes?

Este plugin pode ser hospedado em qualquer hospedagem que possua WordPress configurado. Recomendamos fortemente utilizar uma hospedagem de confiança, com servidores adaptados para WordPress, como o serviço de hospedagem de sites da MCO2.

Hospedando o plugin WooCommerce Coupon Shortcodes em uma empresa de hospedagem de confiança

A MCO2, além de configurar e instalar o WordPress na versão mais nova para seus clientes, disponibiliza o plugin WP SafePress, um mecanismo exclusivo que salvaguarda e otimiza seu site simultaneamente.

Por que a Hospedagem WordPress funciona melhor na MCO2?

A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização de imagens, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São recursos que potencializam seu WordPress para a máxima segurança e o máximo desempenho.

This extension for WooCommerce allows you to render coupon information and show content based on the validity of coupons.

Customers can be motivated to proceed with their purchase, offering them to use specific coupons when the contents in the cart qualify for it, or by offering them to purchase additional items so they can use a coupon.

Extended coupon discount info for volume discounts is shown automatically, if Volume Discount Coupons is installed.

It also works with WooCommerce Group Coupons and WooCommerce Coupons Countdown.

Conditional Shortcodes

It provides the following conditional shortcodes that allow to enclose content which is shown if certain coupons are applied, valid or active:

[coupon_is_active]
[coupon_is_not_active]
[coupon_is_applied]
[coupon_is_not_applied]
[coupon_is_valid]
[coupon_is_not_valid]

These conditional shortcodes allow to render content if any coupons are applied, valid or active:

[coupon_has_valid]
[coupon_has_not_valid]
[coupon_has_active]
[coupon_has_not_active]
[coupon_has_applied]
[coupon_has_not_applied]

Coupon Info Shortcodes

It also provides shortcodes that allow to render the coupon code, its description and an automatic description of the discount:

[coupon_code] (this one makes sense mostly when used inside one of the conditional shortcodes).
[coupon_description]
[coupon_discount]
[coupon_show]

A coupon iterator shortcode makes it easy to work with a set of coupons, the enclosed content is rendered for each coupon in sequence. The informational shortcodes can be used inside the content of this shortcode to display details about each coupon code.

[coupon_iterate]

For example: [coupon_iterate code="test,welcome,20off"][coupon_code] – [coupon_discount][/coupon_iterate]

A coupon enumerator shortcode allows to list all or a set of coupons, to show their code, description or discount information, or combinations of those using the [coupon_show] shortcode:

[coupon_enumerate]

documentação

Please refer to the plugin’s documentation pages for detailed descriptions.

Exemplos

Show a text when a coupon can be used (active) – this is useful to show promotional info while coupons can be used, as active means that the coupon has not reached its expiration date nor exceeded its usage limits:

[coupon_is_active code="eastereggs"]
Happy Easter!
Use the coupon code [coupon_code] to hop away with a great discount : [coupon_discount]
[/coupon_is_active]

This is an example of a text shown when a promotion is over:

[coupon_is_not_active code="specialdiscount"]
Our special discount sale has ended. Come back often to see more!
[/coupon_is_not_active]

Showing a coupon when the cart contents qualify for a coupon to be applied:

[coupon_is_valid code="superdiscount"]
You qualify for a discount!
Use the coupon code [coupon_code] to take advantage of this great discount : [coupon_discount]
[/coupon_is_valid]

Showing a coupon that is not valid for the current cart and motivating to add items:

[coupon_is_not_valid code="25off"]
If you purchase 5 Widgets, you can use the coupon [coupon_code] to get 25% off your purchase!
[/coupon_is_not_valid]

Iterate over several coupons and show their discount info:

[coupon_iterate code="test,welcome,20off"]
Use the Coupon Code: [coupon_code] for [coupon_discount]
[/coupon_iterate]

Iterate over all coupons and show their discount info:

[coupon_iterate code="*"]
Use the Coupon Code: [coupon_code] for [coupon_discount]
[/coupon_iterate]

Show information about three random coupons, including the coupon code, its description and discount info together on each entry:

[coupon_enumerate code="*" orderby="rand" number="3"]
[coupon_show show="code,description,discount"]
[/coupon_enumerate]

Show a single random coupon code:

[coupon_enumerate code="*" orderby="rand" number="1"]
[coupon_code]
[/coupon_enumerate]

Documentation and Support

Full usage instructions and help is provided on these pages:

Do mesmo author (itthinx)

Grupos
(362 avaliações)

Groups é uma solução eficiente e poderosa, fornecendo gerenciamento de associação de usuários baseado em grupo, recursos baseados em grupo e controle de acesso a conteúdo.