WordPress Woocommerce Can’t remove added to cart button after text
-
Once the product is added to the cart there is a after text: “Added to cart”.
But i cant translate it bc sting is not found and i cant remove it bc it dosent have an id. Any suggestions how to solve this? Thanks.
This is the code:
<div class=”wp-block-button wc-block-grid__product-add-to-cart”><a href=”https://choganbudapest.com/product/073-chogan-illat-amit-a-creed-himalaya-ihlette/” aria-label=”Válasszunk “073 Chogan illat amit a Creed: Himalaya ihlette” lehet?ségek k?zül” data-quantity=”1″ data-product_id=”613″ data-product_sku=”” data-price=”8800″ rel=”nofollow” class=”wp-block-button__link wp-element-button add_to_cart_button”>added to cart</a></div>
-
Hello heloszia
Thank you for contacting WooCommerce support.
Could you please share a screenshot of the Added to cart element?
If possible also share a link to the product page.To help you further, I’d like to understand more about your setup.
Could you please send me a copy of your site’s System Status Report?
To get it:
– Go to WooCommerce > Status
– Select Get system report
– Click Copy for support.Once you’ve done that, you can paste the text in https://gist.github.com
After that, you can paste the Gist link here in your reply.
Looking forward to your response. ??` WordPress Environment WordPress address (URL): https://choganbudapest.com<br>Site address (URL): https://choganbudapest.com<br>WC Version: 8.6.1<br>REST API Version: ? 8.6.1<br>WC Blocks Version: ? 11.8.0-dev<br>Action Scheduler Version: ? 3.7.1<br>Log Directory Writable: ?<br>WP Version: 6.4.3<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: hu_HU<br>External object cache: ? Server Environment Server Info: Apache<br>PHP Version: 8.3.3<br>PHP Post Max Size: 516 MB<br>PHP Time Limit: 60<br>PHP Max Input Vars: 1000<br>cURL Version: 8.6.0<br>OpenSSL/1.1.1w SUHOSIN Installed: –<br>MySQL Version: 5.7.23-23<br>Max Upload Size: 512 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database WC Database Version: 8.6.1<br>WC Database Prefix: Awa_<br>Teljes adatbázis mérete: 13.90MB<br>Adatbázis adatok mérete: 10.02MB<br>Adatbázis index mérete: 3.88MB<br>Awa_woocommerce_sessions: Adat: 0.06MB + Index: 0.02MB + Engine InnoDB<br>Awa_woocommerce_api_keys: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_woocommerce_attribute_taxonomies: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_woocommerce_downloadable_product_permissions: Adat: 0.02MB + Index: 0.06MB + Engine InnoDB<br>Awa_woocommerce_order_items: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_woocommerce_order_itemmeta: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_woocommerce_tax_rates: Adat: 0.02MB + Index: 0.06MB + Engine InnoDB<br>Awa_woocommerce_tax_rate_locations: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_woocommerce_shipping_zones: Adat: 0.02MB + Index: 0.00MB + Engine InnoDB<br>Awa_woocommerce_shipping_zone_locations: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_woocommerce_shipping_zone_methods: Adat: 0.02MB + Index: 0.00MB + Engine InnoDB<br>Awa_woocommerce_payment_tokens: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_woocommerce_payment_tokenmeta: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_woocommerce_log: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_actionscheduler_actions: Adat: 0.30MB + Index: 0.64MB + Engine InnoDB<br>Awa_actionscheduler_claims: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_actionscheduler_groups: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_actionscheduler_logs: Adat: 0.14MB + Index: 0.13MB + Engine InnoDB<br>Awa_ce4wp_contacts: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_commentmeta: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_comments: Adat: 0.02MB + Index: 0.09MB + Engine InnoDB<br>Awa_jetpack_sync_queue: Adat: 0.02MB + Index: 0.06MB + Engine InnoDB<br>Awa_links: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_litespeed_avatar: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_litespeed_img_optming: Adat: 0.02MB + Index: 0.05MB + Engine InnoDB<br>Awa_litespeed_url: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_litespeed_url_file: Adat: 0.02MB + Index: 0.08MB + Engine InnoDB<br>Awa_options: Adat: 5.22MB + Index: 0.17MB + Engine InnoDB<br>Awa_postmeta: Adat: 1.52MB + Index: 0.69MB + Engine InnoDB<br>Awa_posts: Adat: 1.41MB + Index: 0.13MB + Engine InnoDB<br>Awa_termmeta: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_terms: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_term_relationships: Adat: 0.08MB + Index: 0.06MB + Engine InnoDB<br>Awa_term_taxonomy: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_usermeta: Adat: 0.06MB + Index: 0.03MB + Engine InnoDB<br>Awa_users: Adat: 0.02MB + Index: 0.05MB + Engine InnoDB<br>Awa_wc_admin_notes: Adat: 0.06MB + Index: 0.00MB + Engine InnoDB<br>Awa_wc_admin_note_actions: Adat: 0.06MB + Index: 0.02MB + Engine InnoDB<br>Awa_wc_category_lookup: Adat: 0.02MB + Index: 0.00MB + Engine InnoDB<br>Awa_wc_customer_lookup: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_wc_download_log: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_wc_orders: Adat: 0.02MB + Index: 0.11MB + Engine InnoDB<br>Awa_wc_orders_meta: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_wc_order_addresses: Adat: 0.02MB + Index: 0.06MB + Engine InnoDB<br>Awa_wc_order_coupon_lookup: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_wc_order_operational_data: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_wc_order_product_lookup: Adat: 0.02MB + Index: 0.06MB + Engine InnoDB<br>Awa_wc_order_stats: Adat: 0.02MB + Index: 0.05MB + Engine InnoDB<br>Awa_wc_order_tax_lookup: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_wc_product_attributes_lookup: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_wc_product_download_directories: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_wc_product_meta_lookup: Adat: 0.05MB + Index: 0.09MB + Engine InnoDB<br>Awa_wc_rate_limits: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_wc_reserved_stock: Adat: 0.02MB + Index: 0.00MB + Engine InnoDB<br>Awa_wc_tax_rate_classes: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_wc_webhooks: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_wpforms_payments: Adat: 0.02MB + Index: 0.14MB + Engine InnoDB<br>Awa_wpforms_payment_meta: Adat: 0.02MB + Index: 0.05MB + Engine InnoDB<br>Awa_wpforms_tasks_meta: Adat: 0.02MB + Index: 0.00MB + Engine InnoDB<br>Awa_yoast_indexable: Adat: 0.02MB + Index: 0.09MB + Engine InnoDB<br>Awa_yoast_indexable_hierarchy: Adat: 0.02MB + Index: 0.05MB + Engine InnoDB<br>Awa_yoast_migrations: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB<br>Awa_yoast_primary_term: Adat: 0.02MB + Index: 0.03MB + Engine InnoDB<br>Awa_yoast_seo_links: Adat: 0.02MB + Index: 0.02MB + Engine InnoDB Post Type Counts attachment: 131<br>custom-css-js: 1<br>page: 9<br>post: 2<br>product: 128<br>product_variation: 214<br>revision: 81<br>shop_order_placehold: 2<br>wp_global_styles: 1<br>wp_navigation: 1<br>wp_template: 10<br>wp_template_part: 3 Security Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (9) All-in-One WP Migrációs eszk?z: írta ServMask – 7.79<br>Simple Custom CSS and JS: írta SilkyPress.com – 3.46<br>LiteSpeed Cache: írta LiteSpeed Technologies – 6.1<br>Loco Translate: írta Tim Whitlock – 2.6.6<br>Karbantartás: írta WebFactory Ltd – 4.08<br>Omnipress: írta omnipressteam – 1.2.2<br>Really Simple SSL: írta Really Simple Plugins – 7.2.3<br>WooPayments: írta Automattic – 7.2.0<br>WooCommerce: írta Automattic – 8.6.1 Inactive Plugins (0) Dropin Plugins (1) object-cache.php: object-cache.php Must Use Plugins (2) Endurance Page Cache: írta Mike Hansen – 2.2<br>SSO: írta Garth Mortensen<br>Mike Hansen – 0.4 Settings API Enabled: –<br>Force SSL: –<br>Currency: HUF (Ft)<br>Currency Position: right_space<br>Thousand Separator:<br>Decimal Separator: .<br>Number of Decimals: 0<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5) Connected to Woo.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature screen enabled: ?<br>HPOS feature enabled: ?<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – WC Pages Webshop f?oldal: #9 - /shop/<br>Kosár: #10 - /cart/<br>Pénztár: #11 - /checkout/<br>Fiókom: #12 - /my-account/<br>általános Szerz?dési Feltételek: ? Az oldal nincs beállítva Theme Name: Gadgethub<br>Version: 1.0.2<br>Author URL: https://omnipressteam.com/<br>Child Theme: ? – Amennyiben a WooCommerce-t egy olyan szül?sablonban módosítunk<br>amelyet nem saját magunk készítettünk<br>akkor javasoljuk a származtatott sablon használatát. Hogyan készítsünk származtatott sablonokat WooCommerce Support: ? Nem meghatározott Templates Overrides: /home4/jeweltm1/public_html/website_79e3b3ec/wp-content/plugins/woocommerce/templates/block-notices/error.php<br>/home4/jeweltm1/public_html/website_79e3b3ec/wp-content/plugins/woocommerce/templates/block-notices/notice.php<br>/home4/jeweltm1/public_html/website_79e3b3ec/wp-content/plugins/woocommerce/templates/block-notices/success.php<br>gadgethub/templates/archive-product.html<br>gadgethub/templates/order-confirmation.html<br>gadgethub/templates/product-search-results.html<br>gadgethub/templates/single-product.html WooPayments Version: 7.2.0<br>Connected to WPCOM: Yes<br>WPCOM Blog ID: 229536392<br>Account ID: acct_1OnMXNCMrVh4INaE<br>Payment Gateway: Enabled<br>Test Mode: Disabled<br>Enabled APMs: card<br>WooPay: Not eligible<br>Apple Pay / Google Pay: Enabled (product,cart,checkout)<br>Fraud Protection Level: basic<br>Multi-currency: Enabled<br>Public Key Encryption: Disabled<br>Auth and Capture: Enabled<br>Documents: Enabled<br>Logging: Disabled Admin Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-03-03 22:54:50 +00:00<br>Options: ?<br>Notes: 73<br>Onboarding: completed Action Scheduler Teljesítve: 939<br>Oldest: 2024-02-17 20:44:52 +0000<br>Newest: 2024-03-03 03:45:13 +0000 Sikertelen: 2<br>Oldest: 2024-02-17 23:59:56 +0000<br>Newest: 2024-02-29 16:41:28 +0000 Függ?ben: 1<br>Oldest: 2024-03-04 03:45:13 +0000<br>Newest: 2024-03-04 03:45:13 +0000 Status report information Generated at: 2024-03-03 11:34:51 +00:00<br>`
Hello heloszia
Thank you for your reply and for sharing the details.
I checked the product page and noticed that the text “added to cart” appears after I click on the “Kiszerelés választása” button and then I am redirected to the product page immediately.
This is not a default behavior of WooCommerce and appears to be a Theme-related code that is being triggered at the click.
Therefore, I would suggest contacting the Gadgethub Theme support and asking them about this issue. They will be in a better position to answer this question.
Please let me know about their response and I will be happy to assist you further. ??
Have a great day!
- The topic ‘WordPress Woocommerce Can’t remove added to cart button after text’ is closed to new replies.