Home › Forums › WoodMart support forum › Return to Shop button on the widget cart
Return to Shop button on the widget cart
- This topic has 12 replies, 2 voices, and was last updated 4 years, 4 months ago by Artem Temos.
-
AuthorPosts
-
September 7, 2020 at 9:59 pm #224392
dinciu.catalinParticipantHello!
I am having problems redirecting the return to shop button when the cart is empty. I want to be able to redirect the button to a anchor on the homepage, not the shop page.
I succesfully did this for the return to shop button on the cart page, using php in the functions.php of the child theme. It does not work for the button on the cart widget.
Also this return to shop button from the widget cart can’t be translated using Loco Translate. The one in the cart page can.
The theme is up to date.
Thank you.
September 8, 2020 at 6:06 am #224422
Artem TemosKeymasterHello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Thank you in advance
September 8, 2020 at 10:51 am #224529
dinciu.catalinParticipantSo if i add something to the cart, then delete it, not only that the return to shop button is translated but it also redirects how i want to. But if you just open the site and go to cart widget directly, it shows the button in wrong language and it redirects to the shop. I cleared the cache several times.
Another problem that i have is that Loco translate doesnt work on the quick view widget ( see attach, the blue circle for the buttons that dont translate ). Also it cant translate slug for the cart and checkout page.
Attachments:
You must be logged in to view attached files.September 8, 2020 at 11:07 am #224537
Artem TemosKeymasterWe have opened your website and reloaded a few times and see the button translated https://gyazo.com/3d905b2f842f80169608801bb07782c2
If you have other issues with our theme, please, create a separate topic to keep the only related conversation here.September 8, 2020 at 11:14 am #224540
dinciu.catalinParticipantYes it appears after i disabled my cache plugin its working and the quick view got translated.
But after i activated the cache plugin again, the button is back to english and wrong redirect. Please check now.
September 8, 2020 at 11:17 am #224542
Artem TemosKeymasterThe problem with a quick view is because you have set English for your user. You need to go to Dashboard -> Users -> edit your profile and set a correct language. Anyway, this problem will not be visible to other customers.
As for the shopping widget, it works correctly for us.September 8, 2020 at 11:45 am #224567
dinciu.catalinParticipantYou are right about the quick view widget, thank you.
But unfortunately the return to shop button still behaves the same, when just entering the site ( see attach, i put pictures because the screen record was too big, i entered in incognito )
Attachments:
You must be logged in to view attached files.September 8, 2020 at 11:47 am #224573
Artem TemosKeymasterPlease, provide us your FTP access so we can check.
September 8, 2020 at 11:50 am #224575
dinciu.catalinParticipantHere is:
September 8, 2020 at 12:11 pm #224589
Artem TemosKeymasterTry to use the solution from the following article https://docs.wp-rocket.me/article/1100-optimize-woocommerce-get-refreshed-fragments
September 8, 2020 at 4:03 pm #224643
dinciu.catalinParticipantIt works!!!
Hope it doesnt slow down the loading speeds, but anyway thank you so much.
September 8, 2020 at 4:16 pm #224646
dinciu.catalinParticipantThe only problem i have now is that Loco translate doesnt work on cart and checkout slugs. Should i make another topic on this?
September 9, 2020 at 6:19 am #224754
Artem TemosKeymasterPlease, send us a screenshot of which words you can’t translate.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register