AVeryNiceWeb

Woocommerce

Woocommerce

Postby admin » Wed Dec 14, 2016 12:32 am

All WooCommerce related topics
The AVNW Support Team
http://www.AVeryNiceWeb.com

If we have provided you with great information or service, there are a few ways you can show your appreciation:
  1. Become a AVNW Paid Subscriber.- We are constantly updating our data base with great tips and solutions to common problems, especially with Ultimate Member. If you found our site because of a WordPress issue, then your issue (if solved) will be published with the solution(s) for others to benefit from.
  2. Make a small donation.- We have buttons at the top and bottom that will allow you to do so via PayPal fast.
  3. Send us a testimonial.- Testimonials giving us praise for our good work is also valuable to us and encourages others to seek our support.
  4. Post a review (OP only).- If you came from a WordPress support board, posting a good review about our free service could also compel others to seek our advice & support.
  5. Like us on Facebook.- Recently our account had a problem on FB and we were forced to create a new one. We lost all our posts & likes. :(
If you do all 5, you'll get a surprise bonus from us. :)
Thank You!
User avatar
admin
Site Admin
 
Posts: 381
Joined: Mon Jan 13, 2014 3:18 am
Location: New York City

Remove Sidebar From Single Product Pages

Postby admin » Wed Dec 14, 2016 12:36 am

The following code removes not only all the sidebars but the breadcrumb links from single product pages (e.g. home/category/single product).

Go to wp-content/plugins/woocommerce/templates/single-product.php

ORIGINAL:
Code: Select all
<?php
/**
 * The Template for displaying all single products
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see        https://docs.woocommerce.com/document/template-structure/
 * @author       WooThemes
 * @package    WooCommerce/Templates
 * @version     1.6.4
 */

if ( ! defined( 'ABSPATH' ) ) {
   exit; // Exit if accessed directly
}

get_header( 'shop' ); ?>

   <?php
      /**
       * woocommerce_before_main_content hook.
       *
       * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
       * @hooked woocommerce_breadcrumb - 20
       */
      do_action( 'woocommerce_before_main_content' );
   ?>

      <?php while ( have_posts() ) : the_post(); ?>

         <?php wc_get_template_part( 'content', 'single-product' ); ?>

      <?php endwhile; // end of the loop. ?>

   <?php
      /**
       * woocommerce_after_main_content hook.
       *
       * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
       */
      do_action( 'woocommerce_after_main_content' );
   ?>

   <?php
      /**
       * woocommerce_sidebar hook.
       *
       * @hooked woocommerce_get_sidebar - 10
       */
      do_action( 'woocommerce_sidebar' );
   ?>

<?php get_footer( 'shop' ); ?>

REPLACE WITH:
Code: Select all
<?php
/**
 * The Template for displaying all single products
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see        https://docs.woocommerce.com/document/template-structure/
 * @author       WooThemes
 * @package    WooCommerce/Templates
 * @version     1.6.4
 */

if ( ! defined( 'ABSPATH' ) ) {
   exit; // Exit if accessed directly
}

get_header( 'shop' ); ?>

   <?php
      /**
       * woocommerce_before_main_content hook.
       *
       * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
       * @hooked woocommerce_breadcrumb - 20
       */
      do_action( 'woocommerce_after_main_content' );
   ?>

      <?php while ( have_posts() ) : the_post(); ?>

         <?php wc_get_template_part( 'content', 'single-product' ); ?>

      <?php endwhile; // end of the loop. ?>

   <?php
      /**
       * woocommerce_after_main_content hook.
       *
       * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
       */
      do_action( 'woocommerce_after_main_content' );
   ?>

   <?php
      /**
       * woocommerce_sidebar hook.
       *
       * @hooked woocommerce_get_sidebar - 10
       */
      /**   do_action( 'woocommerce_sidebar' );    */
   ?>

<?php get_footer( 'shop' ); ?>


Note: In some themes like Sydney, the removal of the breadcrumb links may leave too much space at the top on mobile devices (or screens smaller than 1200px). You can correct this by following This message was hidden, please register or login to see message!.
The AVNW Support Team
http://www.AVeryNiceWeb.com

If we have provided you with great information or service, there are a few ways you can show your appreciation:
  1. Become a AVNW Paid Subscriber.- We are constantly updating our data base with great tips and solutions to common problems, especially with Ultimate Member. If you found our site because of a WordPress issue, then your issue (if solved) will be published with the solution(s) for others to benefit from.
  2. Make a small donation.- We have buttons at the top and bottom that will allow you to do so via PayPal fast.
  3. Send us a testimonial.- Testimonials giving us praise for our good work is also valuable to us and encourages others to seek our support.
  4. Post a review (OP only).- If you came from a WordPress support board, posting a good review about our free service could also compel others to seek our advice & support.
  5. Like us on Facebook.- Recently our account had a problem on FB and we were forced to create a new one. We lost all our posts & likes. :(
If you do all 5, you'll get a surprise bonus from us. :)
Thank You!
User avatar
admin
Site Admin
 
Posts: 381
Joined: Mon Jan 13, 2014 3:18 am
Location: New York City

Change Post Title

Postby admin » Wed Dec 14, 2016 11:55 pm

Add a text shadow using
To view this code please make a small donation or login to see it!

Find Line 471:
Code: Select all
h1, h2, h3, h4, h5, h6 {


REPLACE WITH:
Code: Select all
   h1, h2, h3, h4, h5, h6 {
      color: #443f3f;
      font-weight: 600;
      margin: 10px 0 24px;
        text-shadow: #2e2e2e 0 4px 5px;
   }


Change Size:
Code: Select all
   h1 { font: 53px/1.1 "Raleway", sans-serif;}

E.G. change 52 to 32px
The AVNW Support Team
http://www.AVeryNiceWeb.com

If we have provided you with great information or service, there are a few ways you can show your appreciation:
  1. Become a AVNW Paid Subscriber.- We are constantly updating our data base with great tips and solutions to common problems, especially with Ultimate Member. If you found our site because of a WordPress issue, then your issue (if solved) will be published with the solution(s) for others to benefit from.
  2. Make a small donation.- We have buttons at the top and bottom that will allow you to do so via PayPal fast.
  3. Send us a testimonial.- Testimonials giving us praise for our good work is also valuable to us and encourages others to seek our support.
  4. Post a review (OP only).- If you came from a WordPress support board, posting a good review about our free service could also compel others to seek our advice & support.
  5. Like us on Facebook.- Recently our account had a problem on FB and we were forced to create a new one. We lost all our posts & likes. :(
If you do all 5, you'll get a surprise bonus from us. :)
Thank You!
User avatar
admin
Site Admin
 
Posts: 381
Joined: Mon Jan 13, 2014 3:18 am
Location: New York City

"Your theme does not declare WooCommerce support"

Postby admin » Sun Dec 18, 2016 5:56 pm

Instructions

Go to your WordPress site > wp-content > themes > your-theme > functions.php.

Copy and paste the following code:
Code: Select all
add_theme_support('woocommerce');


WARNING: These changes may be removed if your theme is either updated or upgraded!
The AVNW Support Team
http://www.AVeryNiceWeb.com

If we have provided you with great information or service, there are a few ways you can show your appreciation:
  1. Become a AVNW Paid Subscriber.- We are constantly updating our data base with great tips and solutions to common problems, especially with Ultimate Member. If you found our site because of a WordPress issue, then your issue (if solved) will be published with the solution(s) for others to benefit from.
  2. Make a small donation.- We have buttons at the top and bottom that will allow you to do so via PayPal fast.
  3. Send us a testimonial.- Testimonials giving us praise for our good work is also valuable to us and encourages others to seek our support.
  4. Post a review (OP only).- If you came from a WordPress support board, posting a good review about our free service could also compel others to seek our advice & support.
  5. Like us on Facebook.- Recently our account had a problem on FB and we were forced to create a new one. We lost all our posts & likes. :(
If you do all 5, you'll get a surprise bonus from us. :)
Thank You!
User avatar
admin
Site Admin
 
Posts: 381
Joined: Mon Jan 13, 2014 3:18 am
Location: New York City

Woocommerce no +/- quantity buttons option

Postby admin » Sun Dec 25, 2016 10:22 pm

Symptom: The WooCommerce version has no +/- quantity buttons before and after the single product page quantity input field.

Solution: WooCommerce has depreciated the quantity selector buttons in version 2.3 and above. There is a separate plugin by WooCommerce to get back the quantity selectors:
https://wordpress.org/plugins/woocommer ... increment/
The AVNW Support Team
http://www.AVeryNiceWeb.com

If we have provided you with great information or service, there are a few ways you can show your appreciation:
  1. Become a AVNW Paid Subscriber.- We are constantly updating our data base with great tips and solutions to common problems, especially with Ultimate Member. If you found our site because of a WordPress issue, then your issue (if solved) will be published with the solution(s) for others to benefit from.
  2. Make a small donation.- We have buttons at the top and bottom that will allow you to do so via PayPal fast.
  3. Send us a testimonial.- Testimonials giving us praise for our good work is also valuable to us and encourages others to seek our support.
  4. Post a review (OP only).- If you came from a WordPress support board, posting a good review about our free service could also compel others to seek our advice & support.
  5. Like us on Facebook.- Recently our account had a problem on FB and we were forced to create a new one. We lost all our posts & likes. :(
If you do all 5, you'll get a surprise bonus from us. :)
Thank You!
User avatar
admin
Site Admin
 
Posts: 381
Joined: Mon Jan 13, 2014 3:18 am
Location: New York City


Return to Plugins

Who is online

Users browsing this forum: No registered users and 1 guest

cron