Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
And your suggested code:
add_filter( ‘woocommerce_get_availability’, ‘custom_get_availability’, 1, 2);function custom_get_availability( $availability, $_product ) {
global $product;
$stock = $product->get_total_stock();if ( $_product->is_in_stock() ) $availability[‘availability’] = ‘<div>My html code for the icon In Stock</div>’;
return $availability;
}it just gives a “<div>My html code for the icon In Stock</div>” text (or code) in Product Description area. And I was talking about bade on the product image – like a “OUT OF STOCK” or “SALE!” badges. How to do this badges?
For example is product is availible – we got IN STOCK badge on product image, and if product is not in stock – there is no badge on image (now there is OUT OF STOCK badge and I dont need it in that case if we got IN STOCK badge)
And btw I did this Attribute to make a Filter in sidebar to select Availible items to filter out
And is any way to do it with Attribute not default Availability?
June 12, 2015 at 8:36 pm in reply to: Swap places "Layout/show all/sorting" bar with Product cat description #184200Wow, all works fine! Thanks alot for help )
June 12, 2015 at 4:11 pm in reply to: Swap places "Layout/show all/sorting" bar with Product cat description #184082Ok, I see,
but may be you can help me with this matter:
by default we got 300px height on Hero header on every pages (shop, product cats, product, blog post) but how to do for example 700px height of hero header ONLY on particular pages (shop and all products cats) and for ex. on Product page or Blog post we got default 300px ?
Cool, all works perfectly. Thanks alot for your assistance )
I brb in 3 hours and check if it helped
Adding this to Theme Options – Custom CSS ?
And why than it has blank page on disabled scripst view like https://2.hidemyass.com/ip-1/encoded/Oi8vd2VkZGluZy5kZXYtbm9ibG8ucnUvc2hvcC8%3D&f=norefer
problem is my seo company says that it is bad for seo and indexing.
Can I disable this animation on Shop and Blog page to load whole page at once even on encripted view ?
Hi, no I dont mean ADD TO CART ajax button. On my site I even dont have Add to cart button – it is raw catalog. But the Products and Blog loads via one item by one via ajax. Here check this out how no scripst loads on page:
1) current Shop page with all products
http://wedding.dev-noblo.ru/shop/2) same page loaded without ajax/scripts and as you can see it has no products to index
https://2.hidemyass.com/ip-2/encrypted/cHk4K-mDjEvPqvWbA2VCRQHjC8tjKkEwFYlel4mL_4Ct -
Posted in: We hit Power Elite.