Forum Replies Created
-
AuthorPosts
-
October 26, 2021 at 7:29 pm in reply to: Diashow on homepage / other pages creates delay in loading elements #1326536
Hi Mike,
that certainly did the trick on all pages.
Thank you very much for the solutionOctober 26, 2021 at 8:03 am in reply to: Diashow on homepage / other pages creates delay in loading elements #1326443This reply has been marked as private.when i put in this:
<!DOCTYPE html>
<html>
<body><h1>1. The ol type attribute</h1>
- ( i want ABC and not 1 2 3 )
- Coffee
- Tea
- Milk
</body>
</html>It still puts this:
1. THE OL TYPE ATTRIBUTE
1. Coffee
2. Tea
3. Milk
I want the question to be 1 and the answers a b c / but somehow the theme is overwriting this.
It purpose is a quiz people can take (without having to fill in a form)Thanks ismael,
you can close this topic, it was the plugin product filter for woocommerce
Thanks for your input guenni but i am still not sure what to do.
It used to work fine……….
I want to navigate to page 2 and then start the page on top so my clients can scroll down
- This reply was modified 4 years, 11 months ago by thehorsestore.
hi ismael,
this does not work :-(
like this?
hi victoria,
sure no problem, when you start here and go to page 2 the problem shows
https://thehorsestore.nl/product-categorie/ruiter/kledingaccessoires/Thank you
myrna
December 16, 2019 at 7:00 pm in reply to: Sold out product are hidden but their attributes are visible in filter #1166535Hi ismael,
that is the problem :-) we hide the products out off stock but the filter doesnt understand this with size(maat) and still shows option 10cm in the filter. Other filters like brand(merk) and collor (kleur) are doing the right thing.hoi sorry
i was reading: yes , this can be fixed :)
to bad, you can close this topicthanks
can you advice how?
this is the code how Ismael put this in:function ava_move_pagination(){
?>
<script type=”text/javascript”>
(function($) {
$(document).ready(function() {
var terms = $(“.term-description”);
var pagination = $(“.pagination”);
var wrapper = $(“.template-shop .entry-content-wrapper”);if(!wrapper) return;
if(pagination) {
terms.insertAfter(pagination);
} else {
terms.appendTo(wrapper);
}
});
})(jQuery);
</script>
<?php
}
add_action(‘wp_footer’, ‘ava_move_pagination’);Hi rikard,
I think this is as good as it gets?
Stil when there is no product navigation (page numbering) the categorie description moves on top.thanks for your time
Thanks for al your help ismael
This reply has been marked as private.This reply has been marked as private.December 4, 2019 at 9:36 am in reply to: Sold out product are hidden but their attributes are visible in filter #1162500Hi Ismael,
The screenshot you send, couldn’t be shown in the category https://thehorsestore.nl/product-categorie/ruiter/kledingaccessoires/riemen/
this is a category with only belts, and you have changed the category.To replicate this issue, please go to the belts (RIEMEN) and filer on 10cm….
When I filter on 10cm, I get nothing.
I think the filter uses the attributes of the hidden products. many others sizes have an empty result.
Is there a way so that the empty attributes can be hidden as wel? Or is there a way the filter doesn’t use the hidden attributes?Hi Ismael,
Thanks for your reply. The code in general doesnt work anymore……
not sure what is going wrong before it workedi will try, the code didnt work for me anymore
changed it to:add_action(‘wp_footer’, ‘ava_new_custom_script’);
function ava_new_custom_script(){
?>
<script type=”text/javascript”>
(function($) {
function a() {
$(‘.term-description’).insertAfter(‘.pagination’);
}$(window).load(function() {
a();
});
})(jQuery);
</script>
<?php
}but what happens is:
When there is less then 45 products there is no pagination so then he automaticly puts the description back on top.
is it possible to make a combination without the one overwriting the other?- This reply was modified 5 years ago by thehorsestore.
Hi i found the code below:
function av_move_wc_cat_description(){
?>
<script>
jQuery(window).load(function(){
jQuery(“.term-description”).insertAfter(jQuery(“.products”));
});
</script>
<?php
}
add_action(‘wp_footer’, ‘av_move_wc_cat_description’);But i want it to be below mij next page button :)
thanks- This reply was modified 5 years, 1 month ago by thehorsestore.
Hi victoria,
Last question on this subject :-)
Is ik possible to show the tekst of the categorie below my products?
thanks a lot
Thanks, you can close the topic
Thanks! i figured it out :-)
add_filter( ‘woocommerce_sale_flash’, ‘add_percentage_to_sale_badge’, 20, 3 );
function add_percentage_to_sale_badge( $html, $post, $product ) {
if( $product->is_type(‘variable’)){
$percentages = array();// Get all variation prices
$prices = $product->get_variation_prices();// Loop through variation prices
foreach( $prices[‘price’] as $key => $price ){
// Only on sale variations
if( $prices[‘regular_price’][$key] !== $price ){
// Calculate and set in the array the percentage for each variation on sale
$percentages[] = round(100 – ($prices[‘sale_price’][$key] / $prices[‘regular_price’][$key] * 100));
}
}
// We keep the highest value
$percentage = max($percentages) . ‘%’;
} else {
$regular_price = (float) $product->get_regular_price();
$sale_price = (float) $product->get_sale_price();$percentage = round(100 – ($sale_price / $regular_price * 100)) . ‘%’;
}
return ‘<span class=”onsale”>’ . esc_html__( ‘-‘, ‘woocommerce’ ) . ‘ ‘ . $percentage . ‘</span>’;
}Hi sorry not sure this link is helping me.
i have put a link below.
I have installed al plugin to put some tekst in
(heb je een vraag of staat je maat er niet tussen? etc)This looks good on the computer but doesnt look good on mobile.
is there a way to get tekst there without a plugin?nop problem! Thanks a lot this workt great :)
The filters on the computer are on the left that is fine
but when you go to mobile it puts the filters below but we want them to come firstthe website is http://www.thehorsestore.nl
i am not sure how to send you a screenshot?v
Hi mike,
Thanks a lot for you respons! works great in the customize add css field!
greatz myrna
-
AuthorPosts