Thanks!
Another question... Here's what I am trying to do:
$('#addProduct').on('click', function() {
FC.client.request('https://'+FC.settings.storedomain+'/cart?name=My+Product&price=20');
});
$('#submitCart').on('click', function() {
…
@fc_adam,
I've disabled Sidecart and placed a link to /cart?cart=checkout. Clicking it skips showing cart contents and proceeds to payment screen.
Now, I would like to be able to send my customers directly to payment page - without having them to …
@fc_adam, @luke
I'm experiencing the same problem. But, unlike mOrloff, I've not succeeded in creating a store.
Here's what I've done:
1. Cloned, installed and launched https://github.com/FoxyCart/foxyclient-php-example.
2. Registered my applicat…
@fc_adam,
I've disabled Sidecart and use this code to add item:
FC.client.request('https://'+FC.settings.storedomain+'/cart?name=Tomato&price=123&quantity_min=1&quantity_max=1&' + FC.session.get())
However, checkout page allows i…
Thanks,
I think I didn't make my question clear.
I would like to edit the contents of 'receipt.inc.twig' from my admin panel - I'd like to move things around when the receipt page is rendered.
How can I do that?
Too bad this does not work:
FC.client.request('https://'+FC.settings.storedomain+'/cart?continue_url=http://google.com&' + FC.session.get())
"continue_url" is ignored...
@fc_adam
How do I pass value from FC.json.custom_fields to twig world?
This does not work:
{% set continue_url = custom_fields.url_continue.value %}
Thanks!
Never mind... That worked.
But what I could not achieve is string concatenation:
{% set continue_url = custom_fields.url_continue.value + '/' + custom_fields.order_id.value %}