Hi,
few questions:
1. Why can’t I update this two plugins: Master Slider WP and WPBakery Visual Composer? I dowloaded them from here: https://www.8theme.com/download-plugins/ but the uploading doesn’t work.
2. Why do I get this notification: Please activate your copy of the Ultimate Addons for Visual Composer to receive automatic updates & get premium support
3. If I update theme will I lose all changes that I made? Which files should I update?
4. How to change ‘Checkout’ button color on ‘Cart’? See pic: http://i61.tinypic.com/dq5bb6.png and Pic 2
5. I used this code to change ‘In stock’ and ‘Out of stock’ text:
/**
* Change In Stock / Out of Stock Text
*/
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'] = __('Na zalogi', 'woocommerce');
}
// Change Out of Stock Text
if ( ! $_product->is_in_stock() ) {
$availability['availability'] = __('Dobavljivo (7-10dni)', 'woocommerce');
}
return $availability;
}
But this doesn’t work – Now all products have ‘In stock’ text. What’s wrong with this code?
Thanks, Julija