Skip to main content
Print

Miscellaneous WooCommerce Solutions

SHIPPING — OVERVIEW

UPS – if the client needs a brand new UPS account:

  1. Have the client create a UPS account and add a Payment Option, by going up to the right corner, clicking their name, and selecting Payment Options.Once they go through the steps they will arrive on an Account page with their new information. Have them make note of their account number! Otherwise, they will need to call UPS to obtain it.
  2. Obtain their Login credentials & Account #
  3. Go here to get the Access Key: https://www.ups.com/upsdeveloperkit?loc=en_US

USPS –

Placement of User ID

FreshySites User ID:

756FRESH7873

Password:

find id on asana

Shipment Tracking

Shipment Tracking Plugin

Allows for client to enter a tracking code on an order.

Use this option if they are not using a separate shipping management plugin like ShipperHQ, Shipstation, etc.


PAYMENT PROCESSORS

Authorize.Net

In the backend on your new website:, Go to WooCommerce > Settings > Payments > Select Authorize.Net Credit Card >Check Off Enable this gateway > Scroll down to see the API fields. These are the fields we will need to fill in. > Open in a new tab in your browser, and login to your authorize.net account.

Follow these instructions to obtain the API Login ID and Transaction Key

Follow these instructions to obtain the Signature Key

Once you obtain these three numbers, copy/paste them into the correct fields.

Select Save Changes.

Do a checkout test by buying something on the website to ensure no errors appear.


PRODUCTS

Increase in the number of variations – snippet:

//Increase in the number of variations to 200

define( ‘WC_MAX_LINKED_VARIATIONS’, 200 );

Move Product Reviews out of the Product Tabs and move to bottom of the page

Solution, add as a code snippet

Videos in Product Image Gallery

Use this plugin – VideographyWP – Used on imxpilates – IM=X Wall Tower

Add Product SKU to Shop listings


add_action( 'woocommerce_after_shop_loop_item_title',  'custom_after_title' );
function custom_after_title() {

global $product;

if ( $product->get_sku() ) {
    echo '<div class="shop-sku"> SKU: ' . $product->get_sku() . '</div>';
}

Popup on Product or Cart Page

Solution found on imxpilates.com – Use the free Popup Builder and the https://app.asana.com/0/1126122615387032/1199199117882117/f

Add custom fields and buttons to Woo Products loop listing

Add the following as a snippet. This adds a ACF field called “listing description” to the loop and a button.


add_action( 'woocommerce_after_shop_loop_item', 'fs_show_custom_content_in_wc_loop', 5 );
function fs_show_custom_content_in_wc_loop() {
?>
<div class="listing-description" align="center">
<?php
   if (function_exists('the_field')){
    the_field('listing_description');
  }
?>
</div>
<div class="et_pb_button_module_wrapper et_pb_button_alignment_center"><a class="et_pb_button" href="<?php echo get_permalink();?>">View Details</a></div>
<?php
}

Remove the Additional Information heading in the tab:


add_filter( 'woocommerce_product_additional_information_heading', '__return_null' );


HOW TO IMPORT/EXPORT PRODUCTS

Client Guide

Internal Use


MISC

Guides:

Manually sorting products

Subscription Box Service

Importing/Exporting WC Orders & Subscriptions

XforWooCommerce Guide

Changing Text using Say What? Plugin

Login to see examples here.

Fields —

Original String:

Is usually the words themselves, case-sensitive, Example: Shipping details, Change to: Delivery details

Text domain:

Woocommerce

Text context:

Usually left blank, but if the change isn’t working you may need to add something here

Replacement string:

whatever text you want

Can also be done with a code snippet:


function ship_to_different_address_translation( $translated_text, $text, $domain ) {
 switch ( $translated_text ) {
 case 'Ship to a different address?' :
 $translated_text = __( 'Ship to Recipient's Address?', 'woocommerce' );
 break;
 }
 return $translated_text;
}

add_filter('gettext', 'ship_to_different_address_translation', 20, 3);

Min/Max Quantity for WooCommerce

This plugin – it knows the quantity already in the cart

WooCommerce Email Customizer

Free: YayMail – WooCommerce Email Customizer

Test Orders

For general orders – Woo Order Test

For subscription orders – Stripe (FS dev stripe account should already be hooked up)

Table of Contents