Forum Replies Created
-
AuthorPosts
-
Hi, any idea ? ;)
June 20, 2017 at 3:09 pm in reply to: Woocommerce / Add product category in products list template #810394Yes ! :)
For interested people, here the way I did it :
Open the content-product.php file on the Woocommerce template folder, edit it and paste this under do_action( ‘woocommerce_shop_loop_item_title’ );Line to past :
?><div class=”categorie”>
<?php global $post, $product;
$categ = $product->get_categories();
$term = get_term_by ( ‘name’ , strip_tags($categ), ‘product_cat’ );
echo $term->name; ?> </div><?phpRegards,
TAJune 19, 2017 at 10:14 am in reply to: Woocommerce / Add product category in products list template #809703Ok, thank you for your answer !
Can you just tell me what php file I have to modify ?Thank you in advance for your reply !
Regards,
TAJune 15, 2017 at 9:54 am in reply to: Portfolio filter option as a content element (avia framework) #808479Hi,
Thank you for your answer !
Regards,
TAJune 13, 2017 at 3:19 pm in reply to: Portfolio filter option as a content element (avia framework) #807511Hi Victoria,
Thank you for your help !You will find in private content the URL of the page with the portfolio.
Regards,
TAJune 12, 2017 at 2:00 pm in reply to: Portfolio filter option as a content element (avia framework) #806883Hi Rikard,
I think my request is not very complicated. I will try to explain it :)I add a masonry portfolio in my content column (4/5) and i Would like to sort the content of my portfolio with portfolio categories (filter).
I can do that with Masonry but only above the displayed.So I want to put the sorting options based on the taxonomies in my left column (1/5) next the masonry portfolio.
You will find in private content a capture to explain easily what I want.Hope it will help to understand !
Regards,
TAMarch 16, 2017 at 11:39 am in reply to: Woocommerce / Hide variation prices when it is the same as product price. #761837Hi,
I don’t want to use CSS to hide this thing :)
I just want to hide the variation price only if the variation price (in grey) is egal as the product price (in black).I think it is possible to add some code in the functions.php file of the theme to do that.
The problem is that I can’t do that with my own skills :)Thank you for helping !
Regards.February 28, 2017 at 3:49 pm in reply to: Woocommerce / Can't change the product image size (stuck with 450px x 450px) #752993Ok cool it works fine now, sorry for disturbing you :)
Regards,
ThibaultDecember 15, 2016 at 11:21 am in reply to: Sales / Crossed prices not displayed on products with variations #724825Hi, you can close the topic I found a solution :)
Thank you for your help.
Regards,
ThibaultDecember 13, 2016 at 11:34 am in reply to: Sales / Crossed prices not displayed on products with variations #723655Ok so I found the issue :)
I add this on my functions.php file to disable the display of variable prices :add_filter( ‘woocommerce_variable_sale_price_html’, ‘wc_wc20_variation_price_format’, 10, 2 );
add_filter( ‘woocommerce_variable_price_html’, ‘wc_wc20_variation_price_format’, 10, 2 );
function wc_wc20_variation_price_format( $price, $product ) {
$min_price = $product->get_variation_price( ‘min’, true );
$max_price = $product->get_variation_price( ‘max’, true );
if ($min_price != $max_price){
$price = sprintf( __( ‘%1$s’, ‘woocommerce’ ), wc_price( $max_price ) );
return $price;
} else {
$price = sprintf( __( ‘%1$s’, ‘woocommerce’ ), wc_price( $max_price ) );
return $price;
}
}When I add this, the problem with sales on variable products appears.
Do you have any idea on how I can disable variable prices with an other method ?
Thank you again for your help Ismael !Regards,
ThibaultDecember 13, 2016 at 11:24 am in reply to: Sales / Crossed prices not displayed on products with variations #723652Thank you for your help Ismael.
I found where the problem is located. I made some modification to my functions.php file and when I put the initial file it works fine.
I have to find where the problem is in my customised file :)Regards,
ThibaultDecember 9, 2016 at 10:55 am in reply to: Sales / Crossed prices not displayed on products with variations #722372Hi Ismael,
Thank you very much !You will find in the secret areat the website access.
You can test it with products in the “Nouvelle collection” category : http://adelineaffre.com/website/bijoux/nouvelle-collection/
The problem is present even in the product page : http://adelineaffre.com/website/bijou/collier-blslqsls/Regards,
Thibault- This reply was modified 8 years ago by Obeatone.
December 2, 2016 at 5:05 pm in reply to: Sales / Crossed prices not displayed on products with variations #719815Hi Ismael,
I don’t understand your answer. The fact is that it is working perfectly with another theme.
So the problem is with the enfold theme not with woocommerce. I didn’t touch any php files or something like that on the theme…If I ask woocommerce they will tell to ask the theme creator, it is logic.
So can you help me to solve this problem ?Thank you very much !
Regards.November 30, 2016 at 11:05 am in reply to: Sales / Crossed prices not displayed on products with variations #718672Hi Yigit, thank you for your help !
I add the following code to functions.php and unfortunetly it doesn’t work.I temporarily switch to a basic theme and it works fine, I can see both prices (old crossed) and the new one with variations products.
Regards,
ThibaultThank you very much !
Regards,
ThibaultNovember 14, 2016 at 11:00 am in reply to: Create a show all button in archive products page #711859Thank you Ismael, It works fine !
I have another little request ;)
I’m using WPML, how can I make ‘Show all’ translatable ?Thank you very much for your help and your great job !
Regards.November 10, 2016 at 10:30 am in reply to: Create a show all button in archive products page #710616Hi,
Sorry for my english, I will try to explain it better :)So in my case here is the problem :
– I’m on products category page with 9 products per page : http://adelineaffre.com/website/bijoux/nouvelle-collection/
– I click on Show all, it works fine and i can see all the products on one page : http://adelineaffre.com/website/bijoux/nouvelle-collection/?product_count=1000
– I click on another category : http://adelineaffre.com/website/bijoux/bijoux/
> And now I see all products in one page and that is not OK :) I would like to see 9 products and to choose if i want to show all by clicking on the button (reset when i change the product category)Here is an exemple of what I want : http://blubertyme.com/15-accessoires
When I click on show all (tout voir), I can see all products on one page but when i click on another category (http://blubertyme.com/16-esquisses) all products are not showing, I have to click another time on the show all button to see all products in one page.Thank you for your help !
RegardsSorry you don’t understand :)
I want to show all products like Ismael told me. But after changing page that it is not possible to show 9 products per pages like I configured it.I would like to put the show all button and after clicking on it, all products are showing. And after changing the category in the menu, I would like to reset automatically and to show 9 products like configured.
Thank you for helping !
regardsHi Ismael,
Thank you for your help !It works but now, it is always displaying all products.
I would like to display 9 products when I click on another category or in the same category (without ?product_count=1000).Thank you for your help !
Regards,
ThibaultHi,
Thank you for your help Ismael :)Regards,
ThibaultHi, I did it but the image is not displayed where I want.
Sub-category are below my picture instead of beside.Thank you for your help !
Regards.Ah no sorry it doesn’t work, the image is not displayed where i want :)
I want to put the image on the top right of the menu like in this picture below and i don’t know how to do it.
Thank you for helping !
It’s now OK !
I also add a css class to this image : img-menuThank you !
Here the link in private content
Hi, sorry i’m working on double langages :)
Here is the link in french where you should find menu working :
Regards,
ThibaultHi, I know this method but i want to do this :
Is it possible to do that with this method ?
I tried but i couldn’t do it, see upstare.Thank you for helping.
Regards,
ThibaultHi Andy,
Did you find something with backoffice access ?Thank you very much !
Regards,
ThibaultHi,
You will find the login informations below.
Thank you for your help !Regards
Hi,
I’m searching another method more simple :)
So I deleted my image menu item and I’m trying to add a background: url(“”) to my sub-menu.But I still have a problem when I add this :
.avia_mega_div.avia_mega1 {
background:url(“/imgs/menu1.jpg”) no-repeat right top;
}I can’t see my picture ;(
Thank you for helping :)
Hi,
Sorry Rikard, you’re right, your css code works on the “bijoux” section :)But I still have a little issue, there is now a big white space between “Colliers” and “Bagues”.
That is why i putted a position:absolute to my picture :)Thank you very much for your help !
Regards,
Thibault -
AuthorPosts