Home Forums WoodMart support forum Shopping cart

Shopping cart

Viewing 30 posts - 1 through 30 (of 39 total)
  • Author
    Posts
  • #571539

    PDV
    Participant

    Hello,

    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.
    #571681

    Hung Pham
    Keymaster

    Hi 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,

    #571730

    PDV
    Participant

    Hello, 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 page

    thank you

    #571735

    PDV
    Participant

    So, I created a child theme but I don’t see the dashboard where can I modify the function.php file

    #571814

    Hung Pham
    Keymaster

    Hi 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,

    #571919

    PDV
    Participant

    Hello,

    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.
    #571944

    Hung Pham
    Keymaster

    Hi 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 change true to false.

    Regards,

    #571978

    PDV
    Participant

    Hello,

    After adding the following line: define(‘DISALLOW_FILE_EDIT’, false)
    my site doesnt’t works

    Attachments:
    You must be logged in to view attached files.
    #572009

    Hung Pham
    Keymaster

    Hi 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,

    #572013

    PDV
    Participant

    Hello please find it attached

    #572187

    Hung Pham
    Keymaster

    Hi PDV,

    It requires 2FA code, can you please provide me FTP account instead?

    Regards,

    #572203

    PDV
    Participant

    Hello,
    Where can I found it?

    #572205

    Hung Pham
    Keymaster

    Hi PDV,

    You can contact to hosting provider and ask them for FTP account details.

    Regards,

    #572216

    PDV
    Participant

    Please find it attached

    #572217

    PDV
    Participant

    sorry, I made small mistake, here is correct version.

    #572413

    Hung Pham
    Keymaster

    Hi PDV,

    Thanks for details.

    But it still doesn’t work https://prnt.sc/39mArzxohmYt

    Regards,

    #572456

    PDV
    Participant

    Please, find attached a screenshot .

    Attachments:
    You must be logged in to view attached files.
    #572489

    Hung Pham
    Keymaster

    Hi PDV,

    Thanks for details.

    But it still doesn’t work, can you please send me Siteground account instead?

    Regards,

    #572492

    PDV
    Participant

    sure

    #572505

    Hung Pham
    Keymaster

    Hi PDV,

    Thanks for details.

    Can you please disable 2FA code while access to Siteground account?

    Regards,

    #572513

    PDV
    Participant

    I don’t have it

    Attachments:
    You must be logged in to view attached files.
    #572591

    PDV
    Participant

    Is it works for you?

    #572721

    Hung Pham
    Keymaster

    Hi 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,

    #572725

    PDV
    Participant

    And now ?

    #572728

    Hung Pham
    Keymaster

    Hi PDV,

    Thanks for details.

    Please, I mean it requires 2FA code that sent to email to access the dashboard account. Credentials are correct.

    Regards,

    #572752

    PDV
    Participant

    I understand what do you mean, but I don’t have 2FA autentification …

    #572761

    PDV
    Participant

    try now please

    #572910

    Hung Pham
    Keymaster

    Hi PDV,

    Thanks for details.

    It worked, after checked carefully, there is nothing wrong with wp-config.php file, please see screenshot https://prnt.sc/4nwBL4xarc2Z

    Regarding 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,

    #572939

    PDV
    Participant

    Hello,

    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 ?

    #573062

    Hung Pham
    Keymaster

    Hi 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,

Viewing 30 posts - 1 through 30 (of 39 total)