WPRiders
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] CartHello
When does the problem appear?
I saw that you have Autoptimize added, maybe that causes errors because of minification.
Forum: Plugins
In reply to: [WooCommerce] Change positioning of customer details on checkout pageHello!
I would not remove the customer details column because there are some required fields(those can be changed) and some are important fields for Woocommerce to run.
I add some CSS code can be added to the theme and change the layout of Checkout page:
/* Full width columns, customer details section is on top of the order details column */
.woocommerce-checkout #customer_details{ width: 100%; margin-right: 0px; }
.woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review{ width: 100%; }Hope it helps
Forum: Plugins
In reply to: [WooCommerce] importing issueHi
Does the CSV and import module has the same delimiters set up?
Read this section and might help: https://docs.woocommerce.com/document/product-csv-import-suite-importing-products/#section-2Forum: Plugins
In reply to: [WooCommerce] product pictures will be present in very large sizeHello!
Seems like a plugin modified picture sizes.
If you have a child theme you can add the following code, then run a Regenerate thumbnails:function wpr_change_picture_sizes(){ $catalog = array( 'width' => '350', // px 'height' => '453', // px 'crop' => 1 // true ); $single = array( 'width' => '570', // px 'height' => '708', // px 'crop' => 1 // true ); $thumbnail = array( 'width' => '350', // px 'height' => '453', // px 'crop' => 0 // false ); // Image sizes update_option( 'shop_catalog_image_size', $catalog ); // Product category thumbs update_option( 'shop_single_image_size', $single ); // Single product image update_option( 'shop_thumbnail_image_size', $thumbnail ); // Image gallery thumbs } add_action( 'init', 'wpr_change_picture_sizes', 99 );
If images are still big, you can change the sizes set in the variables above: $catalog, $single, $thumbnail.
Hope it helps
Forum: Plugins
In reply to: [WooCommerce] Undefined method WC_Order::get_order_discount()Hello
Try enabling debug: https://codex.www.ads-software.com/Debugging_in_WordPress
and give more details about file and line where the error appears.Another thing you can try is disabling module one by one and see which one is throwing that error.
Forum: Plugins
In reply to: [WooCommerce] Flat Rate Shipping FormulaHello!
Try this formula:
in php: pow(9.95, floor(qty/10))
in javascript: ( 9.95 ** (Math.floor(qty/10)) )Forum: Plugins
In reply to: [WooCommerce] Need help with shipping cost setting, totally confused~~~Hello
Try switching place of 3 with 4 in shipping settings for the USA.Forum: Plugins
In reply to: [WooCommerce] New numbers for sku – bulk editYes, run it in PHPMyadmin, I suggested the plugin as a alternative.
The sql will sort the products by id and start sku from 00001 ( for “counter: SET @counter:=0;” EDIT 0 with *value-1* for *value* you want to start from )Forum: Plugins
In reply to: [WooCommerce] Change payment method after order is completedHi there,
I was editing a order and saw that there is a drop-down allowing you to change it.
See a little how to: https://www.screencast.com/t/teaL96sgElHope is ok
Forum: Plugins
In reply to: [WooCommerce] Нен работает корзинаMaybe try:
- clearing cache from any cache plugin you have installed
- refresh the permalinks:
- goto https://www.besostudio.ru/wp-admin/options-permalink.php
- change to other setting
- click save
- change back to your favorite one
- click save
Hope it helps
Forum: Plugins
In reply to: [WooCommerce] Ajax Sidebar QueryHello
How did you do the ajax request?
If it was done manually, can you share the ajax request function? maybe in private message, if you want to keep it private.
Without looking at the code maybe try sending the current page to ajax as a parameter(or category id) and use it in the code written.Thank you
Forum: Plugins
In reply to: [WooCommerce] Replace add to cart link with button?Hello, torbent
I would talk to SEO company if it is OK adding a “no follow” to add to cart links(some companies suggested this solution).
Adding “no follow” can be easily done by changing: \wp-content\plugins\woocommerce\templates\loop\add-to-cart.php
In that file look for:
sprintf( '<a href="%s" data-quantity="%s" class="%s" %s>%s</a>',
and change into:
sprintf( '<a rel="nofollow" href="%s" data-quantity="%s" class="%s" %s>%s</a>',
Hope it helps!
Forum: Plugins
In reply to: [WooCommerce] New numbers for sku – bulk editHello bydlo!
Start by doing a BACKUP first!
Try running this sql:
SET @counter:=0; UPDATE wp_postmeta SET meta_value = LPAD( (@counter := @counter + 1) , 5, '0') WHERE post_id IN ( SELECT ID FROM wp_posts WHERE post_type = 'product' ORDER BY ID ASC) AND meta_key = '_sku';
Use this plugin to run the sql: https://www.ads-software.com/plugins/ari-adminer/
Explanation:
– replace everywhere in SQL “wp_” with your table prefix
– LPAD( (@counter := @counter + 1) , 5, ‘0’) – adds filling zeros to SKU. You can change 5 to any number you want to be the length of SKUI just did this SQL. Hope it helps!
Have a nice day!