Just some Doubts about where to change options

This topic has 2 replies, 2 voices, and was last updated 5 years, 9 months ago ago by Rose Tyler

  • Avatar: Raaj
    Raaj
    Participant
    June 26, 2018 at 18:03

    Hello, I have been searching for the following options in theme and couldnt find them. Please help me

    1. My Store page is only displaying 1 product although i have many. Please help me fix it
    2. Im displaying few products of a certain category in main page and for some products it is showing “Select options” Instead of “Add to cart” How do i solve this i just need add to cart button for all products or view products
    3. Where do i place the Paypal “Buy with paypal” Short code i got with a plugin to display under “Add to Cart button of Product page on all products

    Thank you in Advance

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 27, 2018 at 07:09

    Hello,

    1. Please make sure that you use latest versions of Woocommerce and XStore Core plugin.
    Try to disable all the third-party plugins that do not come bundled with our theme and check if you still have the problem.
    If the problem still persists then provide me temporary Dashboard and FTP access to your site and we’ll check what could be the reason for the problem. 
    2. “Select options” button for variable products. To change this text you can use translation files or code in functions.php of child theme:

    add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) {
    	global $product;
    	if ( $product->is_type( 'variable' ) ) {
    		$text = $product->is_purchasable() ? __( 'Custom options text', 'woocommerce' ) : __( 'Read more', 'woocommerce' );
    	}
    	return $text;
    }, 10 );

    3. It would be better to contact the plugin autor. Let us know how this works with default WC theme (Storefront) and we will try to make it the same way with our theme.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.