• Hi!
    My problem is that when I add links containing “add to cart” to an external landing page, such as:
    https://www.medialna.eu/koszyk/?add-to-cart=3320
    https://www.medialna.eu/?add-to-cart=3320
    https://www.medialna.eu/koszyk/?add-to-cart=3351
    https://www.medialna.eu/?add-to-cart=3351
    sometimes they work and sometimes they don’t.

    Sometimes the product is added to the cart, sometimes it is added but it redirects to the home page, and sometimes the cart page pops up saying “the cart is empty”.

    I am asking for help because this has a very negative impact on our sales.

    SYSTEM REPORT

    ### WordPress Environment ###
    
    WordPress address (URL): [Redacted]
    Site address (URL): [Redacted]
    WC Version: 9.0.2
    Legacy REST API Package Version: Wtyczka przestarza?ego REST API nie jest zainstalowana w tej witrynie.
    Action Scheduler Version: ? 3.8.1
    Log Directory Writable: ?
    WP Version: 6.5.5
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: pl_PL
    External object cache: ?
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 8.2.15
    PHP Post Max Size: 2 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.87.0
    OpenSSL/1.1.1w
    
    SUHOSIN Installed: –
    MySQL Version: 10.6.16-MariaDB-cll-lve
    Max Upload Size: 2 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    [REDACTED]
    
    ### Post Type Counts ###
    
    attachment: 322
    custom_css: 1
    e-landing-page: 1
    elementor_font: 1
    elementor_library: 35
    envato_tk_import: 3
    iw_omnibus_price_log: 35
    landing: 3
    nav_menu_item: 16
    page: 23
    post: 6
    product: 8
    revision: 2111
    shop_coupon: 32
    shop_order: 189
    shop_order_refund: 1
    wpz-insta_user: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (29) ###
    
    All-in-One WP Migration Unlimited Extension: przez ServMask – 2.50
    All-in-One WP Migration: przez ServMask – 7.84
    Cookie Notice & Compliance dla RODO / CCPA: przez Hu-manity.co – 2.4.17.1
    Duplicate Page: przez mndpsingh287 – 4.5.3
    Elementor Pro: przez Elementor.com – 3.16.2
    Elementor: przez Elementor.com – 3.22.3
    ElementsKit Lite: przez Wpmet – 3.2.0
    Elfsight Instagram Feed CC: przez Elfsight – 4.0.1
    Envato Elements: przez Envato – 2.0.13
    Essential Addons for Elementor: przez WPDeveloper – 5.9.25
    Landingi Landing pages: przez Landingi – 3.1.4
    Limit Login Attempts Reloaded: przez Limit Login Attempts Reloaded – 2.26.11
    LiteSpeed Cache: przez LiteSpeed Technologies – 6.2.0.1
    Live Sales Notifications for WooCommerce: przez PI Websolution – 2.2.76
    MailerLite - Signup forms (official): przez MailerLite – 1.7.11
    Omnibus — poka? najni?sz? cen?: przez Marcin Pietrzak – 3.0.2
    Zap?a? z paynow.pl: przez mElements S.A. – 2.5.5
    PixelYourSite: przez PixelYourSite – 9.6.2
    Rank Math SEO PRO: przez Rank Math – 3.0.40
    Rank Math SEO: przez Rank Math – 1.0.222
    Sierotki: przez Marcin Pietrzak – 3.2.7
    Product Customer List for WooCommerce: przez Kokomo – 3.1.7
    Checkout Field Editor for WooCommerce: przez ThemeHigh – 2.0.2
    MailerLite - WooCommerce integration: przez MailerLite – 2.1.15
    WPC Pakiety produktów dla WooCommerce: przez WPClever – 8.0.9
    WooPayments: przez Automatyczne – 7.8.1 (dost?pna aktualizacja do wersji 7.9.0)
    WooCommerce: przez Automattic – 9.0.2 (dost?pna aktualizacja do wersji 9.1.0)
    WP Idea Woo: przez upSell.pl & Better Profits – 1.1.2
    WP STAGING PRO - Backup Duplicator & Migration: przez WP-STAGING – 4.3.2
    
    ### Inactive Plugins (1) ###
    
    Seraphinite Accelerator (Base, cache only): przez Seraphinite Solutions – 2.21.15
    
    ### Dropin Plugins () ###
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: object-cache.php
    
    ### Must Use Plugins (2) ###
    
    WordPress automation by >Aplikacje_cyberFolks: przez  –
    WP STAGING Optimizer: przez René Hermenau – 1.5.1
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: PLN (z?)
    Currency Position: right_space
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    woosb (woosb)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: ?
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –
    
    ### Logging ###
    
    Enabled: ?
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 dni
    Level threshold: –
    Log directory size: 60 KB
    
    ### WC Pages ###
    
    Strona sklepu: ? ID strony zosta? ustawiony
    ale strona nie istnieje
    
    Koszyk: #958 - /koszyk/
    Zamówienie: #959 - /checkout/
    Moje konto: #960 - /my-account/
    Regulamin: ? Strona nie ustawiona
    
    ### Theme ###
    
    Name: Hello Elementor
    Version: 3.1.0
    Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    Child Theme: ? – Je?li modyfikujesz WooCommerce lub motyw nadrz?dny
    którego nie jeste? autorem
    polecamy u?ywanie motywu potomnego. Zobacz: Jak tworzy? motywy potomne
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### WooPayments ###
    
    Version: 7.8.1
    Connected to WPCOM: ? Nie
    Logging: Wy??czono
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    product-custom-fields
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    pattern-toolkit-full-composability
    product-pre-publish-modal
    settings
    async-product-editor-category-field
    launch-your-store
    product-editor-template-system
    
    Daily Cron: ? Next scheduled: 2024-07-12 09:32:55 +02:00
    Options: ?
    Notes: 105
    Onboarding: skipped
    
    ### Action Scheduler ###
    
    Complete: 129
    Oldest: 2024-06-10 18:06:32 +0200
    Newest: 2024-07-11 10:39:53 +0200
    
    Failed: 4
    Oldest: 2023-08-16 11:35:16 +0200
    Newest: 2023-10-27 15:01:02 +0200
    
    Pending: 2
    Oldest: 2024-07-12 05:58:22 +0200
    Newest: 2024-07-14 05:29:58 +0200
    
    
    ### Status report information ###
    
    Generated at: 2024-07-11 15:36:49 +02:00
    ikona Zweryfikowane przez spo?eczno??
    ikona Zweryfikowane przez spo?eczno??

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey there, @martakowal! Thanks for contacting us. I’m happy to help you.

    Can you please share the screenshots again? They did not load here.

    My problem is that when I add links containing “add to cart” to an external landing page

    Do you mind clarifying this for us?

    Do you mean this issue happen when you click on add to cart on pages that are not the product page?

    Or when you add a product to another page via shortcode, for example?

    Can you share more details about what you mean by “add links containing “add to cart” to an external landing page”?

    Can you also please share a screenshot of what you see on WooCommerce > Products?

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter mollynoire

    (@martakowal)

    Hi @carolm29 !

    When you click on one of the 4 links I pasted in the message, is the product normally added to your cart?

    I very often create landing pages in external applications and to shorten the purchase path, I add a button with a link containing “add-to-card” (like these 4 links above). This method has always worked flawlessly, but on this website there is a huge problem with it.

    Print screen: https://drive.google.com/file/d/16TTijC4o3Jn_R9tA-ndlJmLVl3UhwVNZ/view?usp=sharing

    Thank you for reaching back, with further details on this @martakowal .

    I went ahead with testing all 4 URLs provided above, and it worked every time on my end.

    Note: the 1st, 3rd, and 4th, of the URLs shared, point to different products than the ones the human eye reads.

    For anything further, I’d recommend taking a look at the documentation linked here.

    I trust that points you in the right direction, but if you have more questions, let us know.

    We’re happy to help.

    Thread Starter mollynoire

    (@martakowal)

    Hi @anastas10s

    The problem is that these links sometimes work and sometimes they don’t. Usually, when one user clicks it repeatedly, it stops working and redirects to the home page. Why is this happening? I can’t afford for the sales page to work sometimes and sometimes not.

    ikona Zweryfikowane przez spo?eczno??
    Thread Starter mollynoire

    (@martakowal)

    “Note: the 1st, 3rd, and 4th, of the URLs shared, point to different products than the ones the human eye reads.” –

    What do you mean? I don’t understand

    ikona Zweryfikowane przez spo?eczno??

    Hey, @martakowal!

    The screenshots you shared are not loading. I recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.

    I checked the links and here’s what happens on my end:

    If I click on the links while having an empty cart, it always adds a product to the cart and shows it.

    The first link adds the following:

    The next three links add the following:

    If the product is already added to the cart, the first three links will show an error:

    And the last link, will show the homepage.

    Can you please confirm if this is the behavior you are seeing on your end too?

    Do you mind sharing more information about the products with us?

    Do you have any plugin or custom code to prevent users from buying more than one unit of the product?
    Is the product added via the default WooCommerce interface, or have you used a plugin or something else to add it?

    Looking forward to your reply.

    Have a wonderful day!

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