Home Forums WoodMart support forum Color changing and incorrect orientation of buttons

Color changing and incorrect orientation of buttons

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #609792

    honoriscausadei1
    Participant

    We cannot change the price colors in the visual section and the buttons direct to the wrong pages.

    #609849

    honoriscausadei1
    Participant

    Colors changed but it took too long.
    Payment buttons opened with Ajax have incorrect href links

    #609900

    Hung Pham
    Keymaster

    Hi 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,

    #611985

    honoriscausadei1
    Participant

    We have solved the problem, thank you for your attention.

    #611986

    honoriscausadei1
    Participant

    We 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.

    #612031

    Hung Pham
    Keymaster

    Hi 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,

    #612136

    honoriscausadei1
    Participant

    We don’t want the text “in stock” in the image, but we want it to be on the product page.

    #612138

    honoriscausadei1
    Participant

    We 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.

    Attachments:
    You must be logged in to view attached files.
    #612237

    Hung Pham
    Keymaster

    Hi 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.

    #621362

    honoriscausadei1
    Participant

    If 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?

    #621562

    Hung Pham
    Keymaster

    Hello 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.

    #651987

    honoriscausadei1
    Participant

    If 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.
    #652352

    Hung Pham
    Keymaster

    Hello honoriscausadei1,

    First of all, I am appreciate your patience.

    Unfortunately, there is no such option by default.

    Regards,

    #653760

    honoriscausadei1
    Participant

    So how can we change the backorder text on the product detail page?

    Attachments:
    You must be logged in to view attached files.
    #654033

    Hung Pham
    Keymaster

    Hello 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,

    #654275

    honoriscausadei1
    Participant

    There 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?

    #654291

    honoriscausadei1
    Participant
    
    add_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?

    #654451

    Hung Pham
    Keymaster

    Hi honoriscausadei1,

    I checked your site and you did not install Loco Translate plugin, please install it and follow above instructions.

    Regards,

    #654555

    honoriscausadei1
    Participant

    There 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;
    }
    #654809

    Hung Pham
    Keymaster

    Hi 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,

Viewing 20 posts - 1 through 20 (of 20 total)

The topic ‘Color changing and incorrect orientation of buttons’ is closed to new replies.