Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Timber, Ajax cart and multiple currency problem #330

Closed
mikcole opened this issue Feb 12, 2015 · 1 comment
Closed

Timber, Ajax cart and multiple currency problem #330

mikcole opened this issue Feb 12, 2015 · 1 comment

Comments

@mikcole
Copy link

mikcole commented Feb 12, 2015

Setup multiple currency on Timber 2.01 based site with an Ajax cart and it has bugs as the currency changes as items added to cart.

Non Ajax cart works fine.

Here is a Timber 2.02 theme with no modifications (except for the multiple currency with two currencies) for an example:

kutenaiclothing-responsive.myshopify.com pswd:brahst

@cshold
Copy link
Contributor

cshold commented Feb 12, 2015

This is part of a known issue and is tracked here #244

The multiple currency javascript doesn't run each time the cart is shown, so you'll have to manually initialize it again. You can do this in the onToggleCallback function provided by Timber's ajax cart (view options).

Because of the bug, however, you may need to add a slight setTimeout to make it work as expected. Either way, there will be some manual work you'll have to do.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants