Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Custom Thank You Page Per Product for WC

Опис

Free WC extension that enable to assign custom thank you page to any product specifically you also can link to other WordPress pages and even a custom link or URL.

Скріншоти

Встановлення

Minimum Requirements

  • WordPress 4.2 or greater
  • PHP version 5.2.4 or greater
  • MySQL version 5.0 or greater
  • WooCommerce 2.4.0 or greater

The quickest method for installing the Plugin is:

  1. Visit Plugins -> Add Search “WooCommerce Custom Thank You Page”
  2. Click on the Custom Thank You Page Per Product for WC link
  3. Click “Install Now”
  4. Finally click “Activate Plugin & Run Plugin”

If you would prefer to do things manually then follow these instructions:

  1. Upload the custom-thank-you-page-wc folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the Products -> Edit Any Product, and use it.

Відгуки

12.09.2017 1 reply
because this plugin not work anymone , i suggest to any wp user my solution , it's simple code can be added in you function.php in your theme , or by code snippet plugin : add_action( 'woocommerce_thankyou', 'ad_redirectcustom'); function ad_redirectcustom( $order_id ){ global $current_user; $order = new WC_Order( $order_id ); $items = $order->get_items(); $product_id=223074;//id of your product $product_id2=223076;// must be change by id of you product foreach ( $items as $item ) { $url =''; $url2=''; if (($order->status!='failed')&&(product_id==$item['product_id'])) { wp_redirect($url); exit; } else if (($order->status!='failed')&&($product_id2==$item['product_id'])) { wp_redirect($url2); exit; // } } } u can do many conditions as you want , if you don't understand code , please give me comment in my gist : here https://gist.github.com/AladinDridi/442db23c731fae9d6dfb54e10f3e6014
12.01.2017 1 reply
The plugin is installed without any issues. When I added the Thank You url I created on my website to Woocommerce>Products>General>Custom Thank You Page and updated. The orders placed are still going to the original page. So this plugin doesn't work in Wordpress 4.7.1. Such a shame as was exactly what I was looking for.
Прочитати всі 6 відгуків

Учасники та розробники

“Custom Thank You Page Per Product for WC” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Custom Thank You Page Per Product for WC” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.0.1 – 29-03-2017

  • Add Support upto WordPress 4.7.3

1.0.0 – 18-11-2016

  • First release!