Creating a Child Pluginīefore we begin, a quick note on plugin customization best practices. Consider this tutorial a starting point to help you create your own personalized shopping experiences on WordPress. You might tailor banner ads to a certain group or enque a different stylesheet to create unique storefront experiences for different groups of shoppers. While you could take this tutorial at face value, we encourage you to get creative! Once you have access to a customer’s group ID in WordPress, you have the potential to create other kinds of application logic around customer segmentation. We’ll unpack the code section by section to explain how everything works, but if you want to go straight to the code, you can download the child plugin at the end of this post. In this post, we’ll show you how you can create a simple child plugin for BigCommerce for WordPress that filters category visibility on the WordPress storefront according to the customer group category visibility rules that you set up in BigCommerce. If you’re using BigCommerce for WordPress to power your storefront, a customer’s group ID and pricing are surfaced on WordPress automatically, but controlling which categories are visible to specific groups requires a little bit of customization. It’s a feature that adds a lot of flexibility to a storefront, with applications across B2B, customer loyalty programs, and “members only” retailers. BigCommerce customer groups allow you to segment your shoppers and apply rules to control which products customers can view and which prices and discounts are applied.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |