Data dodania Pytanie
2017-12-09 11:12 Get the Product Variation related to default attribute values in WooCommerce »
I would like to display the default product attributes form value and it's regular price in my front end template file. The var_dump below shows opt...
(1) odpowiedzi
2017-12-08 00:12 Get custom values of variations from order items in WooCommerce »
I am trying to get the variation values selected by customer at checkout from an order (by id or otherwise) to map to variables $storage and $tier whi...
(1) odpowiedzi
2017-12-06 20:12 Exclude code from the cart page in Woocommerce »
In my Woocommerce Shop, I have added a quantity box next to the add to cart button on archive pages using this code: add_filter( 'woocommerce_loop_ad...
(1) odpowiedzi
2017-12-06 09:12 Get the order fee item details in Woocommerce 3 »
I try to get the name of the fee attached to my order In woocommerce, I get an array but I don't know how to get the name. I tried with function get...
(1) odpowiedzi
2017-12-05 16:12 Creating WooCommerce product variation adds an empty attribute value »
When adding variations to a WooCommerce product it is adding in a blank attribute. Meaning that when I try to add in my own attribute it gets appended...
(2) odpowiedzi
2017-12-05 06:12 How to get Woocommerce Variation ID? »
I've already had this code on functions.php This code is to add a new field on each product variation to have datetime input field, so variations wou...
(2) odpowiedzi
2017-12-05 06:12 Change cart item price based on custom cart data in WooCommerce »
currently i create a form in product single page so that customer can enter height and width of the product . So the product price vary based on the ...
(1) odpowiedzi
2017-12-04 12:12 Only display Woocommerce child product categories »
I am currently using the following code to fetch WooCommerce product categories: <?php $orderby = 'name'; $order = 'asc'; $hide_empty ...
(3) odpowiedzi
2017-12-03 01:12 Remove add to cart button for select product categories in WooCommerce 3 »
I need to hide the "add to cart" button for products of a defined product category. I would like the quantity fied still visible because I am using ...
(1) odpowiedzi
2017-12-02 19:12 Add text after price unless the price is zero, then Call for price in WooCommerce »
I have products with prices that need to all end with "per sq. ft." I want this to only apply to products of a particular category and only when the ...
(2) odpowiedzi
2017-12-02 04:12 Adding an additional custom field in Woocommerce Edit Account page »
IN WooCommerce, I have been able to add a custom fields in Edit Account page. I have tried adding a 2nd custom field "Favorite Color 2" but I ca't get...
(1) odpowiedzi
2017-12-01 23:12 Pass a custom shipping cost for each product added to cart in WooCommerce »
I am creating a quote form prototype which has a fair bit of javascript behind it - could not be done with variations etc. For example see here (its o...
(0) odpowiedzi
2017-11-30 18:11 Woocommerce - Can't display image within loop of cart items »
I have a loop of cart items in Woocommerce that currently only displays the name, quantity and price. I'm trying to also get the image thumbnail to di...
(1) odpowiedzi
2017-11-30 16:11 Hook woocommerce_thankyou doesn't receive order »
In WooCommerce, I am using a custom function hooked in woocommerce_thankyou action hook, to execute some code after a payment has been made. The hook ...
(1) odpowiedzi
2017-11-30 11:11 display or hide custom tab on product page depending on variable »
I am trying to hide a display or not display a tab on the single product page depending on the value of $sizeGridNumber. So if this value is 1 or empt...
(2) odpowiedzi
2017-11-29 10:11 Update WooCommerce "flat rate" shipping cost using Jquery ajax »
I am trying to update the shipping cost after the address is entered. When the client starts typing the address, and autocomplete function helps the c...
(1) odpowiedzi
2017-11-28 23:11 Get product attributes in Woocommerce 3 »
Attributes no longer displayed after I have updated WooCommerce. In the template content-single-product.php if I use var_dump($attribute_names); I ge...
(1) odpowiedzi
2017-11-28 12:11 skipping the product ids of the products that are included in bundle »
I am trying to get the product id(s) on woocommerce checkout page where I have to record their meta key(s). foreach( WC()->cart->get_cart() as ...
(1) odpowiedzi
2017-11-27 20:11 WooCommerce API Creating Product Variations not working as expected »
I am having trouble linking attributes/ attribute terms to a variation when using the /wp-json/wc/v2/products/<product_id>/variations/batch rest...
(1) odpowiedzi
2017-11-27 11:11 Get "primary" category image from WooCommerce product »
I am trying to get the featured image of the "Primary" selected category of a product. Getting the images from the categories is not the problem, but...
(1) odpowiedzi
2017-11-27 00:11 Undefined variable $product_id in Woocommerce hooked function »
I know there is another question similar, but my problem look strange. I am running a PHP script, and keep getting errors like: Notice: Undefined ...
(1) odpowiedzi
2017-11-26 11:11 Sort Order Items by “menu order” in WooCommerce order edit pages »
I use this function to sort Woocommerce order admin items by menu order but But products with variables do not display properly. And if there are seve...
(1) odpowiedzi
2017-11-24 17:11 Get the shipping method title from its method rate ID in Woocommerce »
I have my custom function who retrieves id of each shipping method id (ex flat_rate:3) I need to retrieve the method title by the id (as the image be...
(1) odpowiedzi
2017-11-24 11:11 Relabel "add to cart" button into "add one more" after add to cart in WooCommerce »
I'd like to relabel my add to cart button after click on it and add one item to cart into add one more to cart. Is this possible? I have Child-Them...
(2) odpowiedzi
2017-11-23 22:11 Custom checkbox in product settings that displays a custom field when checked »
I am currently working on a WordPress eCommerce website, using WooCommerce. I have created a custom Checkbox within the Product edit pages general se...
(1) odpowiedzi
2017-11-23 04:11 Override functionalities in Woocommerce Reports section »
I need to customize the Reports in WooCommerce, so I have to edit the core file class-wc-report-sales-by-date.php, such file doesn't use any hook. C...
(1) odpowiedzi
2017-11-22 15:11 WooCommerce Missing argument 1 for WC_Subscriptions_Manager::prepare_renewal() »
I'm getting this in error logs whenever a cron runs to auto renew subscriptions for my client. [Wed Nov 22 06:45:01 2017] [error] [client 204.187.12....
(1) odpowiedzi
2017-11-22 12:11 Get Gravity form data associated with a product in woocomerce by order ID »
I've a gravity form attached with a product, in which user fill some personal detail then do checkout, in checkout user agian fill billing and shippin...
(0) odpowiedzi
2017-11-22 00:11 WooCommerce Thankyou tracking code installation placement »
I am new to Wordpress development and am trying to install a traffic junky tracking code on the thankyou.php page. My attempt has failed so far and ...
(2) odpowiedzi
2017-11-21 12:11 Disable Hourly Price in WooCommerce with Booking and rental system plugin »
I have a rental website using WooCommerce and Booking and rental system plugins. I would like to Not include hourly prices in this website. So I trie...
(1) odpowiedzi
2017-11-21 08:11 Not getting all the data of a order like shipping cost and more while using eBay getOrder api »
Trying to get all data for order using getOrder api call but not getting shiiping cost and some more data please help if anyone have solution... ...
(2) odpowiedzi
2017-11-19 21:11 Woocommerce get all orders with shipping method dropdown filter »
I'm building a custom function who list all my orders filtered by shipping method. In the first time I already build my loop as below : <?php gl...
(1) odpowiedzi
2017-11-19 14:11 Remove attribute values from product variation title and show them on separate rows »
I have a checkout page where I want to: Remove selected product attribute values from product variation title item. Remove the quantity from item ti...
(1) odpowiedzi
2017-11-19 01:11 Conditionally Hide WooCommerce Shipping methods based on shipping class »
Using WooCommerce v3.2.4 on This site (here) (WP v4.9) and 11 products with the shipping class of Overweight/Oversize that have a flat rate applied to...
(1) odpowiedzi
2017-11-18 22:11 WooCommerce custom code breaks after upgrade to 3.X »
After the newer release of WooCommerce 3.X , the code written for WoCommerce 2.X doesn't work anymore without throwing error on the product type line....
(1) odpowiedzi