Change “add to cart” button text
In this example, we replace the add to cart button text with “Next”
Change “add to cart” button text Read More »
In this example, we replace the add to cart button text with “Next”
Change “add to cart” button text Read More »
The Default WordPress and WooCommerce User Roles: WordPress uses user roles to give specific read and edit permissions to each user. This, makes it very easy and secure to manage your websites users and what each one can and can’t do. Here are the most common WordPress user roles: If you have Woocommerce installed and
Add a Wholesale user role in Woocommerce without a plugin (cloning method) Read More »
you also need to add this CSS
Secure checkout message in checkout woocommerce Read More »
Replace the product image on hover with an animation, even if your theme doesnt support it. This will work for the products displayed in the shop loop (page). You will need this CSS: You can replace the aspect-ratio: 1 / 1; to your liking.
Replace the product image on hover in the shop page Read More »
With the css snippet bellow, you can customize the look of the scrollbar in your page. This applies for Horizontal and Vertical scroll bars.
Customize the Scroll Bar (css only) Read More »
By default, in the single product page template, there is no option to show an availability tag if the product is available. (by default, it only shows when the product is out of stock). with this snippet, you can add an “Available” tag, if the product is in stock. (you need to style it y)
Show product Availability tag in single product page Woocommerce Read More »
with this snippet, you can add a new column in the user list of wordpress, to show the total amount spent by each user. This requires to use woocommerce.
Show Total Amount spent in admin user list Read More »
With this code, you are able to view the data returned from querying an acf field. It is used during development, in order to validate that the query works, or to understand the structure of the data. To use it, just replace the field_key with your field key. If the data is from an Options
How to Dump ACF field data Read More »