Questions tagged as 'woocommerce'

0
answers

WooCommerce, new delivery method

Hello, good morning, everyone! Friends, I'm trying to create a plugin for a new delivery method for WooCommerce, in case I'm using the TNT webservice. This is the first time I try to create a plugin, so I'm following the instructions in th...
asked by 10.07.2018 / 14:04
0
answers

Call Hook from the Storefront at templete Woocommerce

<?php /** * Functions hooked in to homepage action * * @hooked storefront_homepage_content - 10 * @hooked storefront_product_categories - 20 * @hooked storefr...
asked by 04.07.2018 / 21:29
0
answers

Woocommerce search for SKU

How to enable product searches for SKU in site searches? I use Woocommerce. I know there's a way to use a function in functions.     
asked by 14.06.2018 / 20:00
0
answers

Uncaught TypeError: Can not read property 'reload' of null - checkout.min.js - Woocomerce

When you attempt to end an order, the page hangs and the console displays:    checkout.min.js? ver = 3.4.1: 1 Uncaught TypeError: Can not read property   'reload' of null at Object.success   (checkout.min.js? ver = 3.4.1: 1) at i (jquery.js...
asked by 05.06.2018 / 00:56
0
answers

Product Designer in the Dokan plugin

I need to do the following: I have the Dokan plugin In which integrated with Woocommerce, it makes the site a marketplace, but when the customer is publishing a product (segment of personalized t-shirts), he needs to edit, such as uploa...
asked by 27.05.2018 / 21:00
0
answers

Check cart is NOT empty Woocommerce 3.4+

I want to check if the cart is NOT empty, but I can not! Can someone help me, please? . add_action( 'wp_footer', 'redirecionar' ); function redirecionar(){ global $woocommerce; if ( !sizeof($woocommerce->cart->cart_...
asked by 03.06.2018 / 13:12
0
answers

Error printing a label on Woocommerce with the Print Address Labels plugin

I am using in my Wordpress 2 plugins woocommerce and Print Address Labels that as the name says it prints the labels of the requests, however I have a problem, after the last update of woocommerce database simply stopped appearing the type of fr...
asked by 25.05.2018 / 06:13
0
answers

woocoommerce - PIS / COFINS for PJ

Does anyone know how to include taxes as PIS / COFINS only for legal persons in woocommerce? I found the tax / fee part, but it is based on the delivery address.     
asked by 24.05.2018 / 15:53
1
answer

Redirect if the basket is empty | Woocommerce 3+

add_action( 'wp_footer', 'redirecionar' ); function redirecionar(){ global $woocommerce; if ( is_page('carrinho-de-compras') and !sizeof($woocommerce->cart->cart_contents) ) { wp_redirect( get_home_url() ); exit();...
asked by 24.05.2018 / 15:09
0
answers

Create Field SELECT in Checkout Woocommerce

I'm using Woocommerce along with the WooCommerce Extra Checkout Fields for Brazil plugin. I need to have additional fields, but with conditionals, both fields will be SELECT , where the second field would only appear with a certain option...
asked by 20.05.2018 / 02:13