Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all 102782 articles
Browse latest View live

Product attribute as free text or numerical value?

$
0
0

Replies: 4

Is there any way to allow a Product Attribute to accept a numerical value or text?

I want to offer a fixed Product Attribute title, and then enable the user to input a numerical value (or restricted text) because the values can range from 0-100 with 2 decimal place increments.

I do not want to use ‘Custom Product Attributes’ which I understand can accomplish this because I only want to offer fixed types (names/labels) of Product Attributes.

Thanks

  • This topic was modified 5 hours, 7 minutes ago by phirefly. Reason: clarification

Change label for Register? -field on the checkout page

$
0
0

Replies: 2

Hi

I’m struggling to change the label for the ‘register account’ -checkbox field on the checkout page. I’ve tried adding a code like this in the code snippets plugin, but it doesn’t work:

add_filter( ‘woocommerce_account_fields’ , ‘mustepalvelu_labels_placeholders’, 9999 );

function mustepalvelu_labels_placeholders( $f ) {

$f[‘checkbox’][‘woocommerce-form__label-for-checkbox’][‘woocommerce-form__label’][‘label’] = ‘Register to save your order history’;

return $f;

}

  • This topic was modified 5 hours, 9 minutes ago by vekman. Reason: code edit

Cannot install Woocommerce

$
0
0

Replies: 1

I have a new WordPress site, I added the plugin (multi-site) and activated it on the site I want the store, when I start the setup wizard I am asked to enter the Store Address Details, when I click Continue I get this Toast message:

“There was a problem updating your preferences”

Any clues?

Edit code productpage

$
0
0

Replies: 1

Hi everyone,

I have a question about the productpage in WooCommerce. When a product is sold out there is a link that says ‘Read More’. I don’t want that link. I want it to just say ‘Sold out’ without a link. Can I adjust this? I searched a lot without a solution. I use the theme Fashion Stylist (Blossom Fashion).

Help is very welcome!

Goedenavond iedereen,

Ik heb een vraag over de productenpagina in WooCommerce. Wanneer een product is uitverkocht staat er onderaan een link met de tekst ‘Verder lezen’. Ik wil niet dat dit een link is en de tekst mag gewoon ‘Uitverkocht’ zonder link zijn. Weet iemand waar ik dit kan aanpassen? Heb zelf reeds veel gezocht maar krijg het niet in orde.

Ik gebruik het thema Fashion Stylist wat bij het Blossom Fashion thema hoort.

Hulp is zeer welkom!

after save in ‘quick edit’ mode, the shipping class value will gone

$
0
0

Replies: 0

HI~

wordpress 5.4.1
woocommerce 4.1.0
theme: Twenty Twenty

When I use ‘quick edit’ mode and save, the the shipping class value will gone.
But when using ‘edit mode’, it is normal.

Thumbnail
1. https://screencast.com/t/zWo1hpcg
2. https://drive.google.com/file/d/17nutean5RQdj-9mbj_6HCaw6PI6ygL5o/view?usp=sharing


### WordPress Environment ###

WordPress address (URL): http://test03-shop-flatsome.pro1.designworks.tw/testweb
Site address (URL): http://test03-shop-flatsome.pro1.designworks.tw/testweb
WC Version: 4.1.0
REST API Version: ✔ 1.0.7
WC Blocks Version: ✔ 2.5.16
Action Scheduler Version: ✔ 3.1.5
WC Admin Version: ✔ 1.1.1
Log Directory Writable: ✔
WP Version: 5.4.1
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: –

### Server Environment ###

Server Info: Apache
PHP Version: 7.2.30
PHP Post Max Size: 32 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.62.0
OpenSSL/1.0.2k

SUHOSIN Installed: –
MySQL Version: 5.6.47-cll-lve
Max Upload Size: 32 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

WC Database Version: 4.1.0
WC Database Prefix: wp_
Total Database Size: 0.82MB
Database Data Size: 0.66MB
Database Index Size: 0.16MB
wp_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_actionscheduler_actions: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_actionscheduler_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_options: Data: 0.65MB + Index: 0.04MB + Engine MyISAM
wp_postmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_posts: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_usermeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_customer_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

### Post Type Counts ###

attachment: 1
page: 6
post: 2
product: 1

### Security ###

Secure connection (HTTPS): ❌
					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
Hide errors from visitors: ✔

### Active Plugins (1) ###

WooCommerce: by Automattic – 4.1.0

### Inactive Plugins (3) ###

Akismet Anti-Spam: by Automattic – 4.1.5
Hello Dolly: by Matt Mullenweg – 1.7.2
Limit Login Attempts Reloaded: by WPChef – 2.12.2

### Settings ###

API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)

Connected to WooCommerce.com: –

### WC Pages ###

Shop base: #6 - /shop/
Cart: #7 - /cart/
Checkout: #8 - /checkout/
My account: #9 - /my-account/
Terms and conditions: ❌ Page not set

### Theme ###

Name: Twenty Twenty
Version: 1.2
Author URL: https://wordpress.org/
Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ✔

### Templates ###

Overrides: –

### Action Scheduler ###

Complete: 5
Oldest: 2020-05-12 09:23:07 +0000
Newest: 2020-05-12 10:11:00 +0000

Как убрать подзаголовок в Магазине

$
0
0

Replies: 1

Здравствуйте, хотелось бы узнать как убрать надпись в Магазине:”Здесь вы можете добавлять новые товары в ваш магазин.” Искал старые темы, там либо через Extra Shark(Но я не хочу переустанавливать тему), либо найти в файлах. Но в пути к файлам с этим заголовкам оказались недействительные из старых тем. Что делать? Спасибо за внимание

Store Notice doesn’t disapear or change

$
0
0

Replies: 1

Hello,
I cannot remove the notice store.
I go to Apparence/Customize/WooCommerce/Notice Store.
If I uncheck the notice store and/or remove the sentences, it is always appear on my site…

Even if I change the text, some pages still keep it.
If you go to my website, some pages have a notice store (site under construction, the fisrt notice) and some other another notice (contact@epicerie…the second I tried to change because I cannot remove it) and some others have no notice store…

What can I do?

Thank you

Duplicate sets of products appearing on the store page.

$
0
0

Replies: 1

Duplicate sets of products appear on the store page. The second set has a drop-down sort selector. I have deleted the store page and re-created a store page only to have the same thing occur. I noticed if I do not select the store page under the products tab in WooCommerce this duplicate issue occurs.


WC-Ajax=checkout very slow

$
0
0

Replies: 2

Hello,

Here’s my problem:
My site runs really smoothly, but as soon as I am in the shopping cart at the checkout and click on “pay now”, the processing takes up to 20 seconds.
The wc ajax=checkout.php is called and it takes so long.

I have already deactivated all plugins, disabled email and tried the Twenty twenty theme.
Unfortunately without success.

Can anyone else please help me?

Thank you very much and greetings
Markus

Translated with http://www.DeepL.com/Translator (free version)

Moving “Update” button

$
0
0

Replies: 1

Good Morning All,

I’m trying to move the “Update” button from upper left to directly below the last ordered item. I am using the Bread and Cake theme. Unsuccessful in locating in the code in the functions.php.

Chrome crashes when previewing drafted posts while WC is active.

$
0
0

Replies: 0

Hi there,

I’m Christian, a developer from toolset.com.

We’ve found an issue with Chrome and part of the trigger is WooCommerce. The problem:

– Using chrome.
– Using block editor.
– Having a drafted post with a meta box applied. (can be any, for example https://github.com/christophherr/custom-meta-box-boilerplate)
– Open Developer tools -> Network. Filter for “message”.
– Click on the “Preview” button (left mouse click)

You will see following call in the dev tools:
https://imgur.com/a/2Bk8A1z

The request will never resolve and the servers will work on that request until the tab is being closed.

Anyway the user does not notice any harm yet. But when he further edits the post and clicks on Preview again and again, he will end up with:
https://imgur.com/a/PrKefY3

When clicking once more on Preview, the Preview won’t load anymore. Chrome will just display (in the bottom left) “Waiting for available sockets”.

It doesn’t have to be on one tab. It can also be split over multiple tabs. The 6th click on “Preview” won’t work (as long as the tabs with the pending call are open).

—-

Why reporting here?

WooCommerce is adding no-store to the Cache-Control header and that’s triggering the issue:
https://imgur.com/a/44sMaXU

Removing the no-store and it’s working fine again.

I know, it’s probably a Chrome bug and I will also report it there, but to be honest I don’t expect that they will handle it with a very high priority.

And having multiple tabs open while editing a site is not very uncommon, so this bug can become very annoying. (Plus the unnecessary load on the server.)

We (Toolset) will add a function which will remove the no-store property for that specific page call (action=edit&message=4) – just wanted to let you know, as your clients may also ran into this issue and maybe you do not require the no-store parameter at all (which I guess from the comment in the source code).

Have a nice day,
Christian

Unavailable product variations displayed in dropdowns

$
0
0

Replies: 0

Unavailable product options that aren’t even in stock are displayed and able to be selected as a product option.

for example,

if you select any leg colour then…
Select 8,10 or 12″ height you shouldn’t be able to select the 3 rod option in the next dropdown

  • This topic was modified 1 hour, 47 minutes ago by kanlailey.

WOOCOMMERCE PRIVATE URL

$
0
0

Replies: 0

How do you add specific usernames to private product on my store?

Product category links to itself

$
0
0

Replies: 0

Hi,

I have a shop with several product categories. Just recently I encountered a problem with a category. It links to itself and not to the sub categories. What happend? It only affects two categories on the site and it worked just fine before.

In https://www.amplitudeaudio.se/product-category/kelsey-acoustics/ the button “Kontakterad Kabel” does not take me to https://www.amplitudeaudio.se/product-category/kelsey-acoustics/kontakterad-kabel/ instead it’s just a link that refresh the page…

  • This topic was modified 1 hour, 43 minutes ago by ravald.

PHP Fatal error: Call to a member function get_attributes() on bool

$
0
0

Replies: 0

Hi people. We have sometimes after last update a fatal error in our shop:

[12-May-2020 09:44:16 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_attributes() on bool in /wordpress/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:1173
Stack trace:
#0 /wordpress/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(207): WC_Product_Data_Store_CPT->create_all_product_variations()
#1 /wordpress/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(749): WC_Data_Store->__call()
#2 /wordpress/wp-includes/class-wp-hook.php(288): WC_AJAX::link_all_variations()
#3 /wordpress/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters()
#4 /wordpress/wp-includes/plugin.php(478): WP_Hook->do_action()
#5 /wordpress/wp-admin/admin-ajax.php(175): do_action()
#6 {main}
  thrown in /wordpress/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 1173

Could you please look at it?


Coupons

$
0
0

Replies: 0

Hi,
Is it possible to see the remaining value of a partially used coupon code in woocommerce? If for example someone gets a coupon for 20 euro and uses 10 euro. Is it than possible to see that that code still has 10 euro of value?
Thanks

Paypal checkout – missing button

$
0
0

Replies: 0

I have the current version of Woocommerce and the Paypal checkout plugin. When I enable payment by paypal, I miss the button to send the order at the checkout.

  • This topic was modified 11 minutes ago by ambri.

Remove Woocommerce Result Count

$
0
0

Replies: 1

Hi,

Please can I get assistance with how to remove the “Woocommerce Results Count”?

I’m trying to remove the “Woocommerce Result Count” from the Shop page in question.

I’ve added the following code to the functions.php file, however, the results count has not been removed:

remove_action( 'woocommerce_before_shop_loop' , 'woocommerce_result_count', 20 );
remove_action( 'woocommerce_after_shop_loop' , 'woocommerce_result_count', 20 );

Thank you.

Only show selected price in variable products

$
0
0

Replies: 0

I want to only show the selected price instead of the the price range in variable products. I tried this code from a previous post but it shows an error

add_action( ‘woocommerce_before_single_product’,
‘check_if_variable_first’ );function check_if_variable_first(){
if ( is_product() ) {
global $post;
$product = wc_get_product( $post->ID );
if ( $product->is_type( ‘variable’ ) ) {
// removing the price of variable products remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_price’, 10 ); // Variable product only if($product->is_type(‘variable’)):

?>
<style>
div.woocommerce-variation-price,
div.woocommerce-variation-availability,
div.hidden-variable-price {
height: 0px !important;
overflow:hidden;
position:relative;
line-height: 0px !important;
font-size: 0% !important;
}
</style>
<script>
jQuery(document).ready(function($) {
$(‘select’).blur( function(){
if( ” != $(‘input.variation_id’).val() ){
$(‘p.price’).html($(‘div.woocommerce-variation-price > span.price’).html()).append(‘<p class=”availability”>’+$(‘div.woocommerce-variation-availability’).html()+'</p>’);
console.log($(‘input.variation_id’).val());
} else {
$(‘p.price’).html($(‘div.hidden-variable-price’).html());
if($(‘p.availability’))
$(‘p.availability’).remove();
console.log(‘NULL’);
}
});
});
</script>
<?php

echo ‘<p class=”prrice”>’.$price.'</p>
<div class=”hidden-variable-price” >’.$price.'</div>’;

endif;

}
}
}
  • This topic was modified 36 minutes ago by nahasco.

Multilingual Woocoomerce

$
0
0

Replies: 0

Hello,
i want to make my site available to french users.
I wanted to use WPML but i heard its bad for the performance of the site.
I have all the translation for the product title, description and categories in a csv file.
Whats the best option to do it?
Thank you

Viewing all 102782 articles
Browse latest View live