Home › Forums › WoodMart support forum › Color changing and incorrect orientation of buttons
Color changing and incorrect orientation of buttons
- This topic has 19 replies, 2 voices, and was last updated 4 months, 1 week ago by
Hung Pham.
-
AuthorPosts
-
November 4, 2024 at 4:42 pm #609792
honoriscausadei1ParticipantWe cannot change the price colors in the visual section and the buttons direct to the wrong pages.
November 4, 2024 at 7:29 pm #609849
honoriscausadei1ParticipantColors changed but it took too long.
Payment buttons opened with Ajax have incorrect href linksNovember 5, 2024 at 6:53 am #609900
Hung PhamKeymasterHi honoriscausadei1,
Thanks for reaching to us.
To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) and screenshots that illustrate the problem to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.
Regards,
November 13, 2024 at 9:15 pm #611985
honoriscausadei1ParticipantWe have solved the problem, thank you for your attention.
November 13, 2024 at 9:17 pm #611986
honoriscausadei1ParticipantWe do not want the stock information of the products available in the carousel to be displayed on the home page.
Is there a solution to this without installing a plugin?
It should be displayed on the product detail page but not in the carousel.November 14, 2024 at 7:44 am #612031
Hung PhamKeymasterHi honoriscausadei1,
I checked your site and didn’t see out of stock products in the list, please let me know if you resovled it.
Regards,
November 14, 2024 at 2:07 pm #612136
honoriscausadei1ParticipantWe don’t want the text “in stock” in the image, but we want it to be on the product page.
November 14, 2024 at 2:08 pm #612138
honoriscausadei1ParticipantWe don’t want the text “in stock” in the image, but we want it to be on the product page.
We want the products to say “in stock” on the product detail page, not on the carousel on the home page.
-
This reply was modified 9 months, 2 weeks ago by
honoriscausadei1.
Attachments:
You must be logged in to view attached files.November 14, 2024 at 7:25 pm #612237
Hung PhamKeymasterHi honoriscausadei1,
Please add the below Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:
p.stock.wd-product-stock.wd-style-default:is(.available-on-backorder,.in-stock){ display: none; }
Best Regards.
December 10, 2024 at 9:19 pm #621362
honoriscausadei1ParticipantIf there is more than one quantity, we want it to write a different text, if the quantity is not specified, we want it to write a different text. How can we do this in this section?
December 11, 2024 at 1:17 pm #621562
Hung PhamKeymasterHello honoriscausadei1,
+ In order to change / translate words. Please make sure you synced the strings first before changing / translating WooCommerce, WoodMart Core plugins and WoodMart theme. You can refer to article
https://xtemos.com/docs-topic/theme-translation/
https://xtemos.com/docs-topic/how-to-make-woodmart-multilingual-with-wpml/+ You are also need to select the language for the backend and theme settings for admin from the admin user profile, please edit the user’s profile and then select the language for that user it will show the same on the backend.
Best Regards.
April 6, 2025 at 3:24 pm #651987
honoriscausadei1ParticipantIf the product is in stock and the stock quantity has not been entered, we want it to say in stock, if the quantity is more than 1, we want it to say more than 1. How can we do this?
Attachments:
You must be logged in to view attached files.April 8, 2025 at 7:34 am #652352
Hung PhamKeymasterHello honoriscausadei1,
First of all, I am appreciate your patience.
Unfortunately, there is no such option by default.
Regards,
April 13, 2025 at 7:19 pm #653760
honoriscausadei1ParticipantSo how can we change the backorder text on the product detail page?
Attachments:
You must be logged in to view attached files.April 15, 2025 at 6:18 am #654033
Hung PhamKeymasterHello honoriscausadei1,
In order to change / translate words. Please make sure you synced the strings first before changing / translating WooCommerce, WordPress Cores file, WoodMart Core plugins and WoodMart theme. You can refer to article
https://xtemos.com/docs-topic/theme-translation/
https://xtemos.com/docs-topic/how-to-make-woodmart-multilingual-with-wpml/Regards,
April 15, 2025 at 3:04 pm #654275
honoriscausadei1ParticipantThere is no such word in the Woodmart language file. As far as I understand, this may be coming from the WordPress language file. How can we check and fix this?
April 15, 2025 at 3:21 pm #654291
honoriscausadei1Participantadd_filter( 'woocommerce_get_availability', 'wcs_custom_get_availability', 1, 2); function wcs_custom_get_availability( $availability, $_product ) { // Change In Stock Text if ( $_product->is_in_stock() ) { $availability['availability'] = __('Available!', 'woocommerce'); } // Change Out of Stock Text if ( ! $_product->is_in_stock() ) { $availability['availability'] = __('Sold Out', 'woocommerce'); } return $availability; }
They changed the out of stock text with this code
How can we do this for backorder?
and where do we add this code?April 16, 2025 at 7:39 am #654451
Hung PhamKeymasterHi honoriscausadei1,
I checked your site and you did not install Loco Translate plugin, please install it and follow above instructions.
Regards,
April 16, 2025 at 11:55 am #654555
honoriscausadei1ParticipantThere is no change with the language files, we saved the code below as a snippet with wpcode and the problem was solved.
add_filter( 'woocommerce_get_availability_text', 'filter_product_availability_text', 10, 2 ); function filter_product_availability_text( $availability_text, $product ) { if ($product->get_stock_status() === 'onbackorder') { $availability_text = __( 'Sipariş verdiğinizde tedarik edilir' ); } return $availability_text; }
April 17, 2025 at 8:37 am #654809
Hung PhamKeymasterHi honoriscausadei1,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
Regards,
-
This reply was modified 9 months, 2 weeks ago by
-
AuthorPosts
The topic ‘Color changing and incorrect orientation of buttons’ is closed to new replies.
- You must be logged in to create new topics. Login / Register