Home › Forums › WoodMart support forum › New tax in France !
New tax in France !
- This topic has 13 replies, 2 voices, and was last updated 6 years, 9 months ago by Artem Temos.
-
AuthorPosts
-
February 27, 2018 at 2:09 pm #42572
leds-prosParticipantHello,
Unfortunatly, we have a new tax in France… and we are obliged to show this tax to customers…No coment.
In fact it is a flat tax, that sometimes appears and sometimes no… Very simple as usually !
So may be, the more simple is that I enter the right amount myself.
But to do that, it is possible to add a line with small caracters, under the price to display it ( as the attachment ) ?
Thanks a lot for your help,
Leds-ProsAttachments:
You must be logged in to view attached files.February 27, 2018 at 3:44 pm #42583
Artem TemosKeymasterHi,
You can try to implement this custom code solution to display your custom information after the price for products https://gist.github.com/jameskoster/6875202
Regards
February 27, 2018 at 4:44 pm #42636
leds-prosParticipantSorry, but I very poor knowledge with programmation.
I have tryied to put the code in function.php… But nothing appear in product page ?
May I have to do something else ?February 27, 2018 at 4:56 pm #42641
Artem TemosKeymasterSorry, but we don’t have any other solutions since it is a part of the WooCommerce plugin and not related to our theme.
February 27, 2018 at 5:02 pm #42642
leds-prosParticipantI understand, but I don’t need formula.
I just need to add always the few words “Dont eco-participation:” and have a place to enter myself the price for each product. Is it possible ?
Thanks for your help,
Leds-ProsFebruary 27, 2018 at 8:09 pm #42662
Artem TemosKeymasterYes, we understand. But we thought that the solution we sent you will do the job you need. Sorry, but we don’t have other solutions for that since it is not a part of the theme.
Kind Regards
February 28, 2018 at 5:43 pm #42973
leds-prosParticipantWell, but as I said to you before:
” I have tryied to put the code in function.php… But nothing appears in product page ?
So, may I have to do something else ? ”
May I have to enter something on another place ?March 1, 2018 at 7:08 am #43032
Artem TemosKeymasterNo, you need to place it to the functions.php in the child theme.
March 1, 2018 at 8:16 am #43080
leds-prosParticipantYes, but as I said before, nothing change… May you attachment, please ?
Attachments:
You must be logged in to view attached files.March 1, 2018 at 8:18 am #43082
Artem TemosKeymasterIt means that this solution is not working for you. Sorry, but we don’t have other workarounds for this since the price template is generated by WooCommerce plugin, not by our theme.
March 1, 2018 at 9:13 am #43095
leds-prosParticipantOk, I understand. To another website ( replace by your theme), support give me a solution, with a code in function.php. I let you the code in private content.
Now, I have a new line “dont eco participation” in product page, and I have to enter myself the good price in custom field. No matter.
But, may you help me to:
1/ Have the line “dont eco participation” more near to the price as attachment.
2/ Don’t display the line “dont eco participation” if we have not the price ?
Thanks a lot for your helpAttachments:
You must be logged in to view attached files.March 1, 2018 at 9:17 am #43098
Artem TemosKeymasterHi,
1. Try to use this CSS code
.custom_ref { margin-top: -15px; }
2. This code always shows this text and we can’t hide it with CSS if there is no value there. You need to contact support that provided you with this code and ask for such improvement.
Regards
March 1, 2018 at 9:46 am #43124
leds-prosParticipantGreat. Thanks a lot, it is better.
1/ Is it possible to reduce typography ?
2/ Do you know how to contact woocommerce to have this done in Cart and checkout ?
ThanksMarch 1, 2018 at 12:29 pm #43170
Artem TemosKeymasterYou can use this code to reduce the font size
.custom_ref { font-size: 12px; }
Sorry, but we don’t know how to contact WooCommerce with your question.
Yes, you can post the final code here and maybe it will be used by some other visitors.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register