Jump to content

Search the Community

Showing results for tags 'woocommarce'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 2 results

  1. I am trying to populate a custom field called "Customer Type" current user role. The custom field is displayed on my checkout page. I tried the below in my functions.php of my child theme and thought it would work but it does nothing. Can anyone tell me what I might be doing wrong? $user = wp_get_current_user(); function onboarding_update_fields( $fields = array() ) { $fields['customertype'] = $user; return $fields; } add_filter( 'woocommerce_checkout_fields', 'onboarding_update_fields' );
  2. hi everyone i got a new problem with my theme>woocommarce>content-single-product.php file.when i want to see single product then its show me this... here is the url of image: http://awesomescreenshot.com/0753t8tuca here is the site/error page url: http://championhouse.ky/product/fried-rice-pack-1/ here is the my "content-single-product.php" file php coding.its getting error from 4no line. <?php //Display Page Header global $wp_query; $postid = $wp_query->post->ID; echo page_header( get_post_meta($postid, 'qns_page_header_image', true) ); wp_reset_query(); ?> <!-- BEGIN .section --> <div class="section"> <?php do_action( 'woocommerce_before_single_product' ); ?> <div itemscope itemtype="http://schema.org/Product" id="product-<?php the_ID(); ?>" <?php post_class(); ?>> <ul class="columns-content page-content clearfix"> <!-- BEGIN .col-main --> <li class="<?php echo sidebar_position('primary-content'); ?>"> <h2 class="page-title"><?php the_title(); ?></h2> <ul class="columns-2 product-single-content clearfix"> <li class="col2 clearfix"> <?php do_action( 'woocommerce_before_single_product_summary' ); ?> </li> <li class="col2 clearfix"> <div class="summary"> <?php do_action( 'woocommerce_single_product_summary' ); ?> </div><!-- .summary --> </li> </ul> <?php do_action( 'woocommerce_after_single_product_summary' ); ?> <?php do_action( 'woocommerce_after_single_product' ); ?> <!-- END .col-main --> </li> <?php get_sidebar(); ?> </ul> </div><!-- #product-<?php the_ID(); ?> --> <!-- END .section --> </div> please help me out of this...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.