Home › Forums › WoodMart support forum › Shopping cart
Shopping cart
- This topic has 38 replies, 2 voices, and was last updated 5 months ago by Hung Pham.
-
AuthorPosts
-
June 8, 2024 at 4:39 pm #571539
PDVParticipantHello,
How can I change ‘return to shop’ button, because I don’t have shop page, only booking page ?
Attachments:
You must be logged in to view attached files.June 10, 2024 at 10:33 am #571681
Hung PhamKeymasterHi PDV,
Thanks for reaching to us.
First of all, I’m really sorry have taken long time to reply you due to the weekend.
Please add below Custom Code to the function.php of the Child theme:
function wc_empty_cart_redirect_url() { return 'https://www.mywebsite.com/'; } add_filter( 'woocommerce_return_to_shop_redirect', 'wc_empty_cart_redirect_url' );
Regards,
June 10, 2024 at 12:33 pm #571730
PDVParticipantHello, I don’t have child theme.
1.In this case I have first to make a child theme?
2. How can I make shop page inactive ? because even if I don’t have direct links to it, when I write https://www.mywebsite.com/shop I will see anyway this pagethank you
June 10, 2024 at 1:05 pm #571735
PDVParticipantSo, I created a child theme but I don’t see the dashboard where can I modify the function.php file
June 10, 2024 at 6:50 pm #571814
Hung PhamKeymasterHi PDV,
Please follow documentation article to create Child theme https://xtemos.com/docs-topic/setup-child-theme/
Then, go to Appearance > Theme Editor to edit functions.php file
Regards,
June 11, 2024 at 10:38 am #571919
PDVParticipantHello,
I created a child theme but I don’t see how to edit functions.php file
Attachments:
You must be logged in to view attached files.June 11, 2024 at 11:30 am #571944
Hung PhamKeymasterHi PDV,
– You should deactivate all plugins (except Required Plugins) and then reactivate them one by one. This makes it very easy to isolate the plugin causing problems.
– Open
wp.config.php
file by using File Manager in Cpanel > locate the following line:define(‘DISALLOW_FILE_EDIT’, true)
and changetrue
tofalse
.Regards,
June 11, 2024 at 12:07 pm #571978
PDVParticipantHello,
After adding the following line: define(‘DISALLOW_FILE_EDIT’, false)
my site doesnt’t worksAttachments:
You must be logged in to view attached files.June 11, 2024 at 2:08 pm #572009
Hung PhamKeymasterHi PDV,
To assist you in the best possible manner, I kindly ask that you provide me temporary FTP info (server, username, password, port) to Private Content area, this will allow me to thoroughly investigate and address your concerns in a more efficient.
Regards,
June 11, 2024 at 2:13 pm #572013
PDVParticipantHello please find it attached
June 12, 2024 at 11:13 am #572187
Hung PhamKeymasterHi PDV,
It requires 2FA code, can you please provide me FTP account instead?
Regards,
June 12, 2024 at 11:36 am #572203
PDVParticipantHello,
Where can I found it?June 12, 2024 at 11:37 am #572205
Hung PhamKeymasterHi PDV,
You can contact to hosting provider and ask them for FTP account details.
Regards,
June 12, 2024 at 12:00 pm #572216
PDVParticipantPlease find it attached
June 12, 2024 at 12:02 pm #572217
PDVParticipantsorry, I made small mistake, here is correct version.
June 13, 2024 at 9:57 am #572413
Hung PhamKeymasterJune 13, 2024 at 11:36 am #572456
PDVParticipantPlease, find attached a screenshot .
Attachments:
You must be logged in to view attached files.June 13, 2024 at 12:51 pm #572489
Hung PhamKeymasterHi PDV,
Thanks for details.
But it still doesn’t work, can you please send me Siteground account instead?
Regards,
June 13, 2024 at 12:52 pm #572492
PDVParticipantsure
June 13, 2024 at 1:10 pm #572505
Hung PhamKeymasterHi PDV,
Thanks for details.
Can you please disable 2FA code while access to Siteground account?
Regards,
June 13, 2024 at 1:38 pm #572513June 13, 2024 at 5:21 pm #572591
PDVParticipantIs it works for you?
June 14, 2024 at 11:59 am #572721
Hung PhamKeymasterHi PDV,
Thanks for details.
It still requiring 2FA code, I am want to help you to resolve it asap but please provide correct credentials.
Regards,
June 14, 2024 at 12:05 pm #572725
PDVParticipantAnd now ?
June 14, 2024 at 12:11 pm #572728
Hung PhamKeymasterHi PDV,
Thanks for details.
Please, I mean it requires 2FA code that sent to email to access the dashboard account. Credentials are correct.
Regards,
June 14, 2024 at 12:46 pm #572752
PDVParticipantI understand what do you mean, but I don’t have 2FA autentification …
June 14, 2024 at 1:24 pm #572761
PDVParticipanttry now please
June 15, 2024 at 9:05 am #572910
Hung PhamKeymasterHi PDV,
Thanks for details.
It worked, after checked carefully, there is nothing wrong with
wp-config.php
file, please see screenshot https://prnt.sc/4nwBL4xarc2ZRegarding Custom PHP code to change shop url, please switch to use Child theme and add it to functions.php file. And replace
https://www.mywebsite.com/
with your custom url.Regards,
June 15, 2024 at 12:06 pm #572939
PDVParticipantHello,
Thank you very much for your help!
I have now 2 small questions:
1. It works on a child theme now, how can I make in work on a main theme? duplicate the code there ?
2. How can I chane the title of the button form ‘return to chop’ to ‘return to home page’ for example ?June 17, 2024 at 6:41 am #573062
Hung PhamKeymasterHi PDV,
First of all, I’m really sorry have taken long time to reply you due to the weekend.
1. I kindly recommend you to keep using custom code in Child theme, it won’t lose if you update theme in the future.
2. + In order to change / translate words. Please make sure you synced the strings first before changing / translating WooCommerce, WoodMart Core plugins and WoodMart theme. You can refer to article https://xtemos.com/docs-topic/theme-translation/
+ You are also need to select the language for the backend and theme settings for admin from the admin user profile, please edit the user’s profile and then select the language for that user it will show the same on the backend.
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register