مواد ڏانهن وڃو
  • لاگ اِن
  • کاتو کوليو
WordPress.org

سنڌي

  • ٿيمون
  • پلگ ان
    • Documentation
    • Forums
  • بابت
  • Source Code
  • Contact
  • Get WordPress
Get WordPress

پلگ انون

  • منهنجا پسنديده
  • بيٽا جاچ پڙتال
  • ڊولپرز

ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

ڊائون لوڊ ڪريو

Where Did You Hear About Us Checkout Field for WooCommerce

کان: Wooassist
  • تفصيل
  • جائزو
  • تنصيب
  • ترقي
سھائتا

وضاحت

This plugin adds a custom field in the checkout page to ask your customers where they heard about your store.

This plugin also offers an “Other” field where your customer can provide a specific answer in a separate textbox.

Features:

  • Easily change the labels and choices for the custom field in the checkout page.
  • View reports on the “Reports” section in WooCommerce.
  • Enable/disable the custom field to be required on checkout.
  • Enable/disable the “Other” field.
  • Modify order statuses you want to include in the reports.
  • Export Orders with Customer Source field

تصوير

  • The custom field in action on the checkout page.

  • The custom field value displayed on the order edit page.

  • Report page.

  • Settings page.

انسٽاليشن

Install via the WordPress Dashboard:

  1. Login to your WordPress Dashboard.
  2. Navigate to Plugins, and select “Add New” to go to the “Add Plugins” page.
  3. In the right side, enter “Where Did You Hear About Us Checkout Field for WooCommerce” in the search input bar, and press Enter.
  4. Click install, and wait for the plugin to download. Once done, activate the plugin.

Install via FTP:

  1. Extract the zip file, login using your ftp client, and upload the storefront-site-logo folder to your /wp-content/plugins/ directory
  2. Login to your WordPress Dashboard.
  3. Go to “Plugins” and activate “Where Did You Hear About Us Checkout Field for WooCommerce” plugin.

FAQ

Where can I find the report page?

You can find the report page by navigating to WooCommerce > Reports and click on the “Customer Source” tab.

Where can I find the settings?

You can find the settings page by navigating to WooCommerce > Reports and click on the “Customer Source” tab, and then click on the “Settings” link on the sub-navigation.

جائزا

Great plugin, needs one small fix

gavie 24 آڪٽوبر 2023
Great plugin, works fine. One suggestion: Currently the line "Other" is not translated in the dropdown-menu (only in the field label).. To fix: on wc-customer-source.php, line 589, please change the text-domain from woocommerce-admin to woocommerce, and it will work flawlessly.

Works great

fdittmar 27 جُولاءِ 2021
Works fine. A little more in terms of formatting/design would be great (spacing / alignment on my pages isn't great).

Good approach but several technical flaws

d9media 19 آڪٽوبر 2019 3 replies
First of all, I would like to thank you for making this plug-in available to the public. I think it is an simple and elegant solution. There is a few questions that raised for me after giving this a try and reading the source code. In your report, you are directly accessing WooCommerce properties which is considered bad practice and will actually throw a lot of notices in the admin area ("doing it wrong"). Instead of $order->billing_first_name you should use $order->get_billing_first_name() and so forth. This will ensure the plug-in to continue working if WooCommerce decides to change these properties. Apparently this is also relevant for caching. You are using woocommerce_form_field( ) to build the select field. Then further down, you are building the field yourself. Is there a reasoning behind it? (I'm not saying it is not legit, just curious if this was done on purpose) You are defining your class as "final" which means that it can not be extended and methods can not be altered. While I'm sure this has a reasoning, it defeats the purpose of OOP. Lastly, In terms of transliteration, there's a bunch of strings which are unnecessary to include into your textdomain, such as Report, Setting, Export, Customer Name, Order Status etc. Instead you may use WooCommerce's or WordPress' textdomain: __( 'Customer Name', 'woocommerce-admin' ), __( 'Orders', 'woocommerce-admin' ), __( 'Other', 'woocommerce-admin' ) __( 'Other', 'woocommerce' ) __( 'Select an option…', 'woocommerce' ) __( 'Customer', 'woocommerce' ) I don't fault you for this, in fact I'm seeing this a lot of times in a lot of Plug-Ins but I think with a bit of research in our IDE we can often find strings which already have been included in core or contributed plug-ins. While we can't always depend on other plugins in our translation, it is the case here because we are extending WooCommerce functionality.This way it will be easier to maintain and more languages will be supported in the first place. I hope you will find this review helpful. Thanks again for sharing your code.

It works

Stephen Ainsworth 20 ڊسمبر 2018
And it has a position field in settings which lets you position the drop-down where you need it to be.
جمع: سڀ 4 تبصرا پڙهو

تعاون ڪندڙ & ڊولپرز

“Where Did You Hear About Us Checkout Field for WooCommerce” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ
  • wooassist

جمع: “Where Did You Hear About Us Checkout Field for WooCommerce” 2 جڳهن ۾ ترجمو ڪيو ويو آهي. ترجمي ڪندڙن جي مهرباني سندن تعاون لاءِ.

ترجمو ڪريو “Where Did You Hear About Us Checkout Field for WooCommerce” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

1.0.0

  • initial release

1.0.1

  • Logged Out user can now see the form
  • Tested with WordPress 4.9.2
  • Tested with Storefront 2.2.7
  • Tested with WooCommerce 3.2.6

1.1.0

  • Added Order Export Feature
  • Tested with WordPress 5.2.1
  • Tested with Storefront 2.5.0
  • Tested with WooCommerce 3.6.4

1.1.1

  • Updated code as suggested by @d9media

1.1.2

  • Updated code for tanslations

1.2.0

  • moved menu location due to deprecation of Reports section
  • updated codes for php8 compatibility

1.3.0
* fixed php 8 compatibility
* fixed export php notice

ميٽا

  • ورزن: 1.3.0
  • آخري ڀيرو اپڊيٽ ڪيو ويو: 8 مهينا اڳ
  • فعال انسٽاليشنس: 2,000+
  • ورڊپريس ورزن 4.0.0 يا وڌيڪ
  • تائين آزمايو ويو: 6.1.4
  • زبانون

    Danish, Dutch, ءِ English (US).

    پنھنجي ٻولي ۾ ترجمو ڪريو

  • جمع: ٽيگس:
    brandingcustomcustomizerlogostorefront
  • ترقي يافته ڏيک

درجه بندي

سڀ ڏس
  • جمع: 5 تارا 2
  • جمع: 4 تارا 1
  • جمع: 3 تارا 1
  • جمع: 2 تارا 0
  • واحد: 1 تارو 0
هڪ جائزو جمع ڪرڻ لاء لاگ ان ڪريو.

تعاون ڪندڙ

  • wooassist

سھائتا

چوڻ لاءِ ڪجهه آهي؟ مدد گهرجي؟

ڏسو سپورٽ فورم

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Donate ↗
  • Swag Store ↗
  • WordCamp ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

سنڌي

  • Visit our Facebook page
  • Visit our X (formerly Twitter) account
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our YouTube channel
ڪوڊ شاعري آهي.