Learned or Solved Something Today?

Dump it here! Let others learn from you

Write a woocommerce hack
Showing 2 of 2 from page 1

anonymous posted in #php #snippets #wordpress #woocommerce #plugins

Simple Function To Add / Create Custom Order Status For Your Wordpress WooCommerce Store

Order status offered by woocommerce were not enough for my project I wanted to create some new custom statuses for my shop Here s a simple and easy code snippet that I ve used to introduce new order s

ikrum posted in #php #wordpress #woocommerce #snippets

Hide woocomerce product price, quantity, add to cart button for guest (not logged in) users | Wordpress Hacks

This is very simple gist to disable or hide product prices for guest users. Only logged in user can see product prices, quantity and add to cart button. Only registered & logged in user can add to cart and make order I've encountered a situation whe