Putting items in English cart tries to change lang to Danish, emptiing the cart!
-
Hi people. I am building a website with shop, running WordPress, WPML and WooCommerce together in a Danish/English web site.
The Danish language works, I can put items in the shopping cart and go through the payment process. But if I put stuff in the (empty) cart from the English product page, or from a category page and then afterwards show the cart, this one pops up:
If I click Stay in English, that cart will be emptied.
If I click Switch back To Dansk (Danish), it switches to Danish (even though I tried to add items from the English page…). Also, it switches to the danish subfolder, but with the english slug for the shop, so I end up on an 404 page…It seems like it thinks, that even though the product, I added, is shown in english, it thinks that we came from the Danish shop.
If I, from a category page, click the Add to cart-button, the cart (which is shown in a widget below the shop) adds the product, but a few seconds later, it is removed again.
The page url:
https://omahara.com/en/shop (english)
https://omahara.com/da/shoppen (danish)I can give you admin access to the page with a user, if you give me an email address I can create a user for.
Looking forward to your help and comments.
Status report:
### WordPress Environment ### Home URL: https://omahara.com Site URL: https://omahara.com WC Version: 2.6.14 Log Directory Writable: ? WP Version: 4.7.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US ### Server Environment ### Server Info: Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.9 PHP Version: ? 5.5.38 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version PHP Post Max Size: 256 MB PHP Time Limit: 300 PHP Max Input Vars: 10000 cURL Version: 7.36.0 OpenSSL/1.0.1e SUHOSIN Installed: ? Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 2.6.14 : woocommerce_sessions: ? woocommerce_api_keys: ? woocommerce_attribute_taxonomies: ? woocommerce_downloadable_product_permissions: ? woocommerce_order_items: ? woocommerce_order_itemmeta: ? woocommerce_tax_rates: ? woocommerce_tax_rate_locations: ? woocommerce_shipping_zones: ? woocommerce_shipping_zone_locations: ? woocommerce_shipping_zone_methods: ? woocommerce_payment_tokens: ? woocommerce_payment_tokenmeta: ? MaxMind GeoIP Database: ? ### Active Plugins (26) ### Akismet: by Automattic – 3.2 Better Search Replace: by Delicious Brains – 1.3 Exclude Pages from Navigation: by Simon Wheatley – 1.92 Google Analytics: by ShareThis – 2.1 Collapse-O-Matic: by twinpictures baden03 – 1.7.3 Meta Slider: by Matcha Labs – 3.4.1 My Calendar: by Joseph C Dolson – 2.5.6 Recent Posts Widget Extended: by Satrya – 0.9.9.6 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6 Page Builder by SiteOrigin: by SiteOrigin – 2.4.24 WPML Multilingual CMS: by OnTheGoSystems – 3.6.3 SiteOrigin CSS: by SiteOrigin – 1.1.3 SiteOrigin Widgets Bundle: by SiteOrigin – 1.8.1 Velvet Blues Update URLs: by VelvetBlues.com – 3.2.7 WooCommerce Weight Based Shipping: by dangoodman – 4.2.2 WooCommerce PayPal Express Checkout Gateway: by Automattic – 1.1.2 Booster for WooCommerce: by Algoritmika Ltd – 2.5.9 WooCommerce Multilingual: by OnTheGoSystems – 4.0.4 WooCommerce SellMore: by IndoWebKreasi – 1.1.2 WooCommerce Set Products Per Page: by SvendK – 0.1 WooCommerce: by WooThemes – 2.6.14 WP Broken Link Status Checker: by Pau Iglesias SeedPlugins – 1.0.4 WP Media folder: by Joomunited – 3.8.7 WPML Media: by OnTheGoSystems – 2.1.24 WPML String Translation: by OnTheGoSystems – 2.5.2 WPML Translation Management: by OnTheGoSystems – 2.2.7 ### Settings ### Force SSL: – Currency: DKK (DKK) Currency Position: left_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 ### API ### API Enabled: – ### WC Pages ### Shop Base: #5 - /shoppen/ Cart: #6 - /shoppen/basket/ Checkout: #7 - /shoppen/checkout/ My Account: #8 - /shoppen/my-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: Vantage Version: 1.5.8 Author URL: https://siteorigin.com/ Child Theme: ? – If you're modifying WooCommerce on a parent theme you didn't build personally then we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: –
- The topic ‘Putting items in English cart tries to change lang to Danish, emptiing the cart!’ is closed to new replies.