WooCommerce Template Editor

WooCommerce Template Editor

WooCommerce template editor

Description

WooCommerce Template Editor module allows you to edit any WooCommerce template directly from your WP admin dashboard without the need of copying the template file to your child theme.

  • First you need to select which templates from the list are you going to edit.
  • Then click “Save changes” and new options fields will be added.
  • Options will be automatically filled with currently used template content (i.e. WooCommerce default or the template from your (child) theme).
  • After you edit the template and “Save changes”, new template file will be automatically created in your woocommerce_uploads/wcj_uploads/templates folder. File will be automatically updated each time you make changes in the template and it will be automatically used instead of standard template.

WooCommerce Template Editor - Admin Settings

Templates

List will be automatically updated, if new templates will be added to WooCommerce.

Below is the list generated for WooCommerce v3.4.5:

archive-product.phpauth/footer.phpauth/form-grant-access.phpauth/form-login.phpauth/header.phpcart/cart-empty.phpcart/cart-item-data.phpcart/cart-shipping.phpcart/cart-totals.phpcart/cart.phpcart/cross-sells.phpcart/mini-cart.phpcart/proceed-to-checkout-button.phpcart/shipping-calculator.phpcheckout/cart-errors.phpcheckout/form-billing.phpcheckout/form-checkout.phpcheckout/form-coupon.phpcheckout/form-login.phpcheckout/form-pay.phpcheckout/form-shipping.phpcheckout/order-receipt.phpcheckout/payment-method.phpcheckout/payment.phpcheckout/review-order.phpcheckout/terms.phpcheckout/thankyou.phpcontent-product.phpcontent-product_cat.phpcontent-single-product.phpcontent-widget-product.phpcontent-widget-reviews.phpemails/admin-cancelled-order.phpemails/admin-failed-order.phpemails/admin-new-order.phpemails/customer-completed-order.phpemails/customer-invoice.phpemails/customer-new-account.phpemails/customer-note.phpemails/customer-on-hold-order.phpemails/customer-processing-order.phpemails/customer-refunded-order.phpemails/customer-reset-password.phpemails/email-addresses.phpemails/email-customer-details.phpemails/email-downloads.phpemails/email-footer.phpemails/email-header.phpemails/email-order-details.phpemails/email-order-items.phpemails/email-styles.phpemails/plain/admin-cancelled-order.phpemails/plain/admin-failed-order.phpemails/plain/admin-new-order.phpemails/plain/customer-completed-order.phpemails/plain/customer-invoice.phpemails/plain/customer-new-account.phpemails/plain/customer-note.phpemails/plain/customer-on-hold-order.phpemails/plain/customer-processing-order.phpemails/plain/customer-refunded-order.phpemails/plain/customer-reset-password.phpemails/plain/email-addresses.phpemails/plain/email-customer-details.phpemails/plain/email-downloads.phpemails/plain/email-order-details.phpemails/plain/email-order-items.phpglobal/breadcrumb.phpglobal/form-login.phpglobal/quantity-input.phpglobal/sidebar.phpglobal/wrapper-end.phpglobal/wrapper-start.phploop/add-to-cart.phploop/loop-end.phploop/loop-start.phploop/no-products-found.phploop/orderby.phploop/pagination.phploop/price.phploop/rating.phploop/result-count.phploop/sale-flash.phpmyaccount/dashboard.phpmyaccount/downloads.phpmyaccount/form-add-payment-method.phpmyaccount/form-edit-account.phpmyaccount/form-edit-address.phpmyaccount/form-login.phpmyaccount/form-lost-password.phpmyaccount/form-reset-password.phpmyaccount/lost-password-confirmation.phpmyaccount/my-account.phpmyaccount/my-address.phpmyaccount/my-downloads.phpmyaccount/my-orders.phpmyaccount/navigation.phpmyaccount/orders.phpmyaccount/payment-methods.phpmyaccount/view-order.phpnotices/error.phpnotices/notice.phpnotices/success.phporder/form-tracking.phporder/order-again.phporder/order-details-customer.phporder/order-details-item.phporder/order-details.phporder/order-downloads.phporder/tracking.phpproduct-searchform.phpsingle-product/add-to-cart/external.phpsingle-product/add-to-cart/grouped.phpsingle-product/add-to-cart/simple.phpsingle-product/add-to-cart/variable.phpsingle-product/add-to-cart/variation-add-to-cart-button.phpsingle-product/add-to-cart/variation.phpsingle-product/meta.phpsingle-product/photoswipe.phpsingle-product/price.phpsingle-product/product-attributes.phpsingle-product/product-image.phpsingle-product/product-thumbnails.phpsingle-product/rating.phpsingle-product/related.phpsingle-product/review-meta.phpsingle-product/review-rating.phpsingle-product/review.phpsingle-product/sale-flash.phpsingle-product/share.phpsingle-product/short-description.phpsingle-product/stock.phpsingle-product/tabs/additional-information.phpsingle-product/tabs/description.phpsingle-product/tabs/tabs.phpsingle-product/title.phpsingle-product/up-sells.phpsingle-product-reviews.phpsingle-product.phptaxonomy-product_cat.phptaxonomy-product_tag.php

Accessible through:

  • WooCommerce > Settings > Booster > Emails & Misc. > Template Editor

Tested on WooCommerce 4.0.0 and WordPress 5.3.2Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

WooCommerce Booster Modules

#comment>

#comment>

#comment>#comment>#comment>

Leave a Reply Click here to cancel reply.

#comment>

Comments

2 Comments

  1. photonaija January 30, 2019 at 12:44 pm#comment>

    HI ,
    In the checkout/order-receipt.php I add the short code but I cant seem to pull the wcj shortcodes on this order page by editing the PHP. How can this be done

    does not return anything

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • RokasJ January 30, 2019 at 3:58 pm#comment>

      Hi,

      In PHP you should not put raw shortcodes but rather use the following:
      echo do_shortcode()

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  2. #comment>

#comment>#comment>#comment>#comment>

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.

This site uses Akismet to reduce spam. Learn how your comment data is processed.