Skip to content
  • Home
  • About
  • Contact

How To Find It

Tips For Program

  • Home
  • HTML
    • HTML
    • Jquery & Javascript
    • css
  • Php
  • sql
  • wordpress
    • woocommerce
      • Woocommerce Hooks
    • Plugin developement Tips
  • General

Category: woocommerce

To get the total price of a order in woocommerce

To get the total price of a order in woocommerce

December 14, 2016 admin
add_action(‘woocommerce_order_status_completed’, ‘complte_order_process_function’); function complte_order_process_function($order_id){ $order_user_details = new WC_Order($orde... Read More
Getting slug of a product

Getting slug of a product

December 12, 2016 admin
<?php global $product; $slug=$product->post->post_name; echo $slug; ?>... Read More
How to edit order.php file in woocommerce within our theme file

How to edit order.php file in woocommerce within our theme file

December 6, 2016 admin
To edit files in my account folder(inside template directory of woocommerce) : Create a “woocommerce” folder inside our theme folder. Create a “myaccount” folder inside our woo... Read More
WooCommerce hooks

WooCommerce hooks

December 3, 2016December 3, 2016 admin
Hooks used for Orders in woocommerce: https://codebrothers.eu/woocommerce-hooks/   Woocommerce hooks WooCommerce Visual Hook Guide: Checkout Page... Read More
Changing delimiter of default woocommerce breadcrumb

Changing delimiter of default woocommerce breadcrumb

November 27, 2016 admin
add_filter( ‘woocommerce_breadcrumb_defaults’, ‘myfun’ ); // function definition function myfun( $defaults ) { // Change delimeter as  ‘>’ $defaults[‘deli... Read More
Woocommerce filter to set product default image

Woocommerce filter to set product default image

November 27, 2016 admin
In function.php : // Add action to hook into the approp add_filter( ‘woocommerce_placeholder_img_src’, myfun’ ); /** * Function definition to new placeholder image URL. */ function m... Read More
Wishlist shortcodes

Wishlist shortcodes

November 16, 2016November 17, 2016 admin
wishlist short available in below link: https://yithemes.com/docs-plugins/yith-woocommerce-wishlist/02-shortcode.html   Displaying wishlist button under each product in product listing page: add ... Read More
Showing product suggestion while searching woocommerce products

Showing product suggestion while searching woocommerce products

November 16, 2016November 17, 2016 admin
Showing search result based on the selected category using ajax: Search form: <form role=”search” method=”get” action=”<?php echo get_permalink( woocommerce_get_pag... Read More
Category based search in woocommerce products

Category based search in woocommerce products

November 16, 2016November 17, 2016 admin
Add following hook in function.php function advanced_search_query($query) { if($query->is_search()) { $query->set(‘post_type’, ‘product’); // category terms search. if (i... Read More
Listing only parent categories in woocommerce

Listing only parent categories in woocommerce

November 15, 2016 admin
$args = array( ‘orderby’    => ‘title’, ‘order’      => ‘ASC’, ); $product_cats= get_terms( ‘product_cat’, $args ); foreach ( ... Read More
  • 4 of 5
  • « Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next »

Recent Posts

  • How to include styles and scripts on wordpress admin pages?
  • Page Template dropdown missing from page attribute in wordpress
  • How to add a logo uploading field in customize settings in wordpress
  • How to add a new page in wordpress admin
  • Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet.

Categories

  • css (13)
    • Bootstrap (2)
  • General (13)
  • HTML (10)
  • Jquery & Javascript (39)
    • OOP javascript (11)
  • Php (39)
    • Amzon s3 and Php (3)
  • sql (2)
  • wordpress (154)
    • Hooks & Filters (1)
    • Plugin developement Tips (7)
    • woocommerce (50)
      • Woocommerce Hooks (17)
Theme Designed by InkHive. howtofindit©2021