Home › Forums › Basel support forum › The display order in the item card. Change the text of button "add to cart". › Reply To: The display order in the item card. Change the text of button "add to cart".
July 9, 2016 at 9:28 pm
#1846
Artem Temos
Keymaster
Hello,
1) You can change this order by customizing some woocommerce action hooks. Try to add the following code to your child theme functions.php file
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20);
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 35);
2) You can change this word in WooCommerce POT file with Loco Translate plugin. Here is a video tutorial https://www.youtube.com/watch?v=tAFq1yTfWfU
and here is custom CSS to add icon to the button
.single-product-content .cart .button:before {
content:"\f07a";
font-family: 'FontAwesome';
display:inline-block;
margin-right:5px;
}
3) But you want to show select attributes before description according to first question.