Mailchimp cart content block - mailchimp

I am creating a website with mailchimp integration using their API. I am using their drag and drop cart block content feature, it seems that the price that is reflected in that block is not the price of the cart but the price of the product.
My first solution is to get the price using a cart merge tag, I have been searching for merge tags but cant find any website that provides me this merge tags.
I would like to use the cart price instead, does anyone knows how can I put the cart price? I've been looking for solution for this problem all day. I hope one of you can help me.
Thank you.
Check this video as well
https://www.youtube.com/watch?v=nTi4nU8ZOj0

You can use the merge tag ABANDONED_CART to create custom html for abandoned cart emails.
Example:
<table>
*|ABANDONED_CART:[$total=3]|*
<tr>
<td><img src="*|PRODUCT:IMAGE_URL|*"/></td>
<td>*|PRODUCT:TITLE|*</td>
<td>*|PRODUCT:PRICE|*</td>
</tr>
*|END:ABANDONED_CART|*
</table>
Go to Cart
The $total=3 in the ABANDONED_CART tag changes the number of products that will be shown.
*|CART:URL|* - Generates the url for your cart.

This doesn't seem possible. Here's a very recent list of available tags from mailchimp . There's no CART block or CART_PRICE tag.
I contacted mailchimp support with a similar query.
ME:
I'd like to customize the contents of the cart
block. The test emails/ abandoned carts I have created use the
checkout_url as the product image link within the template. Is it
possible to have the cart block product image link url set to that of
the product or the product link variant?
If that is not possible is there an equivalent PRODUCT_CART tag to
PRODUCT_RECOMMENDATIONS as documented here
http://kb.mailchimp.com/merge-tags/all-the-merge-tags-cheat-sheet#Merge-Tags-for-Product-Recommendations
that I could use to construct my own abandoned cart email, not using the
predefined cart block drag and drop content block.
In summary:
1) Within the cart block is it possible to have the product images link
to the products and not the checkout_url?
2) Is there a tag not listed in
http://kb.mailchimp.com/merge-tags/all-the-merge-tags-cheat-sheet to
iterate over cart products?
SUPPORT:
There is not a way to change the URL linked to the product image. Additionally, those products must be pulled in using the abandoned cart content blocks, and cannot be populated using a merge tag.
That being said, I do agree these would be great options to have, and I would be happy to pass that feedback along for you. Our developers monitor these suggestions and often use that feedback for future versions of the application. So thank you for giving us your idea, as it may be very useful for a lot of our users in the future.
Let us know if you have any other questions on this, and have a great rest of your day.

Related

Does Shopify Ajax API support Graphql?

I would like to manipulate the cart based on tags on products in the cart. I'm currently using the Shopify Ajax API to retrieve the cart contents and then the products in the cart. This leads to performance issues given the number of calls required. This is a classic issue addressed by GraphQL so I'm wondering if there is a solution available
How is making a call to the cart endpoint and getting back the contents a performance issue? Have you thought through what you are trying to do? If you do a single call to the cart, you get all the products in the cart. If you want to manipulate the products in the cart, what does that mean? If you are saying, geez, I need to see the tags of each product, and you then do an ajax call per product to get the tags, you are doing it wrong. Instead, when you place a product in the cart, add the special tag as a line item property. That way, when you want to play with the cart, you have all the data at your fingertips.
This is not a "classic GraphQL" kind of thing in my opinion, but instead, a question of perhaps not adopting the cleanest, fastest pattern of the many you could choose to use.

Getting an image laravel

I hope someone has used Crinsane/LaravelShoppingcart.
I'm using it to create a shopping cart and I've read the documentation but haven't seen anything regarding putting the product image in the checkout page.
I've only managed to get title, qty and price. All I need is the image
You can pass the object of the item when adding it to the cart and then you'll be able to retrieve any extra information you might need from each item.

Shopify Script for Fixed Discount of a set price based on tags

Using Shopify Scripts :::
I am trying to achieve the below but getting issue. Could you please let me know how to do this.
$25 off a purchase of $125 or more from the "sale" section. These products have a tag "sale" and are also in a collection "sale" based on that tag.
Looking forward for your quick response.
Great Thanks
If you examine the documentation for Shopify Scripts you'll notice that there is no support for auditing the line item for tags. So you should try the other approach which is proven, and works well.
Look for an item with a compare at price. If you find one, then that typically means the item is on sale. So you can rig your logic to look for items with a compare at price, and if they have one, then determine if the cart has exceeded the $125 in value, and if so, apply your discount.
I can't give you the exact code as I don't know the structure of your code. But this is what you need to do.
Wherever a product can be added to the cart assign a JavaScript function to check if the product is of "Sale" collection. If yes, add an attribute cart.attributes.something.something and keep changing it as and when required.
When the checkout mechanism is present in the page, and if your conditions satisfy the Sale discount, take then to /checkout?DISCOUNT=<CODE> and click of checkout. It'll automatically apply the discount.

How to Retrieve Magento Core Variables in CMS Blocks or Pages?

Changing templates isn't an option in my situation and even so if I make a full HTML page with just two integrated "product blocks: (product name, product image, product price, buy me)", it seems easier to just call the two products you need and insert them directly.
So I'm curious to know if I can retrieve Magento {{variables}} such as product names, images, prices,... . I'm perfectly happy to use Magento Custom Variables to create functions to retrieve these, but I have no idea as to where to start. Any ideas would be appreciated.
As far as I know, it's not possible, nor is it sensible, to do this all from the CMS page.
You're best bet would be to create a widget. Widgets are reusable template tags that are very similar to the blocks used in the Magento layout system.
Once your widget is made, you can then call the widget in the CMS page with a product option, {{widget type="mywidgets/productname" product_id="1"}}, and modify the widget's output based on the product id entered.
The tutorial I've linked to is very good, and should be a great starting point.

Please specify the product's option(s) in Magento

Actually i am using Elias_configurablebundle plugin for the configurable product as associated of the Bundle Product and to display GRID* for the configurable associated products i am using magento mechanics grid. here i have merged both of the extensions it showing GRID on bundle view page but showing Please specify the product's option(s)* on click of the **Add To Cart.
Although everything is fine, no required field left to fill out, i have applied any single custom options for any of the product.
so here i want to remove this validation so then it will directly redirect to shopping cart page.
Thanks
Configurable products need to have their options chosen (say, color or size) in order to be added to the cart. Otherwise, there is no way to decide which simple product should be decremented from the inventory. So there is no way for you to "skip" selecting this information, other than hardcoding the selections for the configurable product.
If you do that, just use the simple products instead, and skip all the headache.
Thanks,
Joe
Another thing to check is that the options fields are actually inside the tags. Its fairly easy in Magento to move the option selects to a different column and not realize that you are moving them outside the add to cart form tags.
if the options are selected outside the form tags, then as far as the form is concerned no options have been selected.
Hope this helps someone down the road.

Resources