[SOLVED] Need to remove the Edit Option in Cart Page

Home – SaaS Forums Support questions WooPrice Calculator (Pro) [SOLVED] Need to remove the Edit Option in Cart Page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5472
    Oscar Ira
    Participant

    Hi! Can you help me remove the Edit option (with checkmark and pencil) in the Cart Page?
    I would be nice if that Edit option will just take me to the Product page not opening a new window.
    Where is the file that I can remove that in WPC?

    #5475
    Oscar Ira
    Participant

    Never mind I figured out where the file is. It is the edit-button.php in the WPC plugin folder.
    My question now is how do I move the file in the child theme so it will not be overwritten every time there is a WPC upgrade?

    #5474
    Enrico
    Participant

    Hi Oscar,

    At the moment it’s not a good idea to change “edit-button.php”, because WPC doesn’t support overwrite for the moment.

    If you want to hide the edit button, just add:

    .wpc-edit-icon {
    display: none !important;
    }

    To the Custom CSS Settings: https://altoswebsolutions.com/manual/woo-price-calculator/edit-the-css-style-custom-css

    This will remain also after any plugin upgrade.

    Kind Regards,
    Enrico
    AT603

    #5473
    Oscar Ira
    Participant

    Thanks Enrico!

    I will just use CSS so that it will not be affected by any update of WPC.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.