Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Add to Cart button translation swaps after press to add to cart

add to cartadded
    • 6 years, 10 months ago sectiongraphix
      Participant

      Expired

      Hello,

      In the product page i have translated the button Add to cart. When i press it, a loader appears to add the product to the cart and later the button changed to “ADDED” and then again back to “ADD TO CART”.

      How i can prevent this to happen to keep the translation of the button? Because it swaps it.

      Regards

    • 6 years, 10 months ago sectiongraphix
      Participant

      Expired

      This reply has been marked as private.
    • 6 years, 10 months ago Mirela
      Participant

      Hello,

      Can you please post some valid wp credentials in your profile data? So we can give it a closer look.

      Best regards!

    • 6 years, 10 months ago sectiongraphix
      Participant

      Expired

      This reply has been marked as private.
    • 6 years, 10 months ago Mirela
      Participant

      Hello,

      This is a button that uses js to send information from one action to another file. Are you using a translation plugin to translate site? I need to check the configuration of it.

      If you are translating the site directly from theme files (**Not recommended as it will prevent you from taking future theme updates, which are very important!), then the given string can be found in these files inside theme folder:
      functions.php
      \includes\codeless_customizer\codeless_options\shop.php
      \js\codeless-main.js
      \woocommerce\single-product\add-to-cart\external.php
      \woocommerce\single-product\add-to-cart\grouped.php
      \woocommerce\single-product\add-to-cart\simple.php
      \woocommerce\wishlist-view.php

      Best regards!

    • 6 years, 9 months ago jjomadsen
      Participant

      Expired

      Hey,

      I have the same problem. I need to translsate “added” and “add to cart”. I am using a child-theme, so I have founde the files in the June theme that you mention. But how do I change the languae? I can’t see where I do it.

    • 6 years, 9 months ago Mirela
      Participant

      Hello,

      Please use the pot files to translate the site. Check this article for more information: https://support.ellethemes.com/?ht_kb=translate-site-using-po-mo-files

      Best regards!

Viewing 6 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password