What are functions and shortcodes?
WSHK for WooCommerce is a plugin with +60 functions and shortcodes for WooCommerce.
It is ordered in 6 specific sections to let you find the functions and shortcodes easily by the related purposes:
Account Page
In this section, you will find the WSHK functions and shortcodes to build your custom WooCommerce account page.
The functions include shortcodes, to be able to show the content in your custom WooCommerce account page as you need, and adapt to any type of page builder.
You have all the parts separately, so you can decide what you want to show and what not without limitations.
- Orders list shortcode
- Downloads list shortcode
- Billing and Shipping addresses shortcode
- Payment methods shortcode
- Edit account shortcode
- Customer reviews shortcode
- Display WooCommerce notices
- Logout button shortcode
- Login form shortcode
- Register form shortcode
- Hide login errors in the login form
User Data
In this section, you will find the WSHK functions and shortcodes to display all the data related with the user in your WooCommerce account page or where you need.
The functions include shortcodes, to be able to show the content as you need, and adapt to any type of page builder:
- Username in menu title
- User email shortcode
- User gravatar image shortcode
- User IP shortcode
- User name and surname shortcode
- Username shortcode
- Conditional message to the customer according to their number of orders
- Display the user billing data separately
- Display the user shipping data separately
- Customer purchased products loop
- Product purchases by current logged in user counter
- Customer purchased products counter
- Customer total orders counter
- Customer total reviews counter
- Display the user total spent according to the order status
- Display the user orders according to the status of the order
- User role shortcode
Security
In this section, you will find the WSHK functions and shortcodes to restrict content in your WooCommerce account page or where you need, and also enhance your shop security:
- Restrict content to users if they are not logged in
- Restrict content to users if they are logged in
- Prevent send users on WP updates check
- Block users access to the backend from the top administrator bar
- Block users access to wp-admin and wp-login.php
- Add security headers in your website
Shop Page
In this section, you will find the WSHK functions and shortcodes to provide information about the store in general, enhance the shop possibilities or build your shop from scratch:
- Show only products from specific categories on the shop page
- Exclude products from specific categories on the shop page
- Display saving price and percentages on sale products
- Products per page Manager
- Display max or min price on variable products
- Product Download/Sales Counter
- Total shop sales counter
- Total shop sales amount counter
- Total shop products counter
- Display all the products reviews where you want
- Conditional Add to cart button for purchased products
- Change the Add to cart button text
- Build a new shop page from scratch
GDPR Law
In this section you will find the WSHK functions to improve the GDPR Law in your WooCommerce store, adding the acceptance checkboxes in the all the store forms as Checkout page, Register form, Product reviews form and Post comments:
- Global settings
- GDPR on WordPress comments
- GDPR on WooCommerce checkout page
- GDPR on WooCommerce reviews
- GDPR on WooCommerce Register form
- Custom terms and conditions checkbox in WooCommerce checkout page
Additional Settings
In this section, you will find the WSHK functions to expand your WooCommerce backend possibilities, and let you do actions that WooCommerce don’t provide by default:
- Autocomplete the virtual products orders
- Disable the new WooCommerce dashboard
- Product thumbnail in email orders
- Product image in the order details
- Conditional menu
- Shortcodes in menu titles
- Custom thank you pages
- Change the return to shop button text and add custom redirection
- Limit the number of products in the cart
- Skip cart and go straight to Checkout page
- Add the name and surname fields in WooCommerce register form