Ask a Question

Inventory variable?

Can Tapcart release an inventory variable for use in custom blocks? We're developing a low inventory warning custom block but can't without this variable (and we're not willing to use an API endpoint to do this). <br /> For example, on our online store the following shopify liquid works great: <DIV>{% if product.variants.first.inventory_management == "shopify" and product.variants.first.inventory_quantity < 6 and product.variants.first.inventory_quantity > 0 %} Only {{ product.variants.first.inventory_quantity }} left in stock! {% endif %}</DIV>

Image size

Hi, I am building custom blocks and when I try to use 100vh as the size it doesn't work, is there another way to get the images full screen on all devices? Thanks

Why is there difference in iOS and Android version app for Cart page?

Hi, See below two links, one for iOS ipad app and another for Android app. There is one item is free based on conditions and Shopify Functions discount logic. The total cart amount is correctly adjusted. But.. in iOS app, the free item is correctly displaying 0 price. In Android app, it is still displaying its actual price instead of 0. <https://drive.google.com/file/d/1-py-PoxFwSLuIRugbkkiKrnWb5eeEttK/view?usp=sharing> <https://drive.google.com/file/d/19ygl_B86VLt5FtOQay3apNa0cHVKLdx5/view?usp=sharing> Expected result - Tapcart iOS version is correct. Android version app has a bug on Cart page line items price displaying.

Can I link to a custom screen through a custom block?

Hi, Is it possible to link to a custom screen through a button created on the custom blocks? Thanks


how to unblock all apps

When does "cart/updated" event fires ? Does it fire when user add product into cart ?

Hi, I have tried to use cart/updated event but.. it never fires. Not in console testing , not in real app, as I tested applying changes to live as well. Tapcart.registerEventHandler("cart/updated", function (eventData) { console.log("VISITOR ADDED PRODUCT"); // this never fires. }); Do you have a working test sample for it ?

Global Parameters Shared Between Custom Blocks & Other Suggestions

In the preview window we get the ability to reference and see a block of JSON that has a few frames of reference like the customer object, the product object etc. Let us add parameters to this that we could share between blocks! That would be incredibly useful. Like global parameters. I dont even care if they are immutable so long as they are shared between blocks. Also please make the syntax experience orthogonal to the syntax on Shopify Liquid. ### BAD {{#if customer}} {{/if}} vs ### GOOD {% if customer %}} {% endif %} Going with another implementation is unnecessarily ugly and means we have to remember another set of syntactic rules that will never quite match up with what we know and love from shopify. I also don't think that needing to setup metafield sharing with the app is such a big deal, you should by default pull in the product and customer metadata. If it gets referenced by a block just let it be otherwise it won't do anything. Give us the ability to add a block to product cards (mind you I would reserve these for small blocks). Give us the ability to add a block or line of metadata to objects in the cart. Or even a small area between the subtotal and the payment buttons.

Line item properties

Is it possible to add a dropdown element to the PDP that adds line item properties to the products when added to cart?

Custom Block - Modal CSS

I would like to create a custom block displays the content of a metafield as a modal or a dropdown. Basically trying to replicate the functionality of the Product Description Block. I'm having issues making the modal work, looks like the CSS rules are not applied. Any assistance would be greatly appreciated.

Product Metafields are not working

I've enabled them from tapcarts settings, added the namespace/key values to the list and confirmed that the product I'm testing with has the proper fields filled out. I'm attempting to pull them through js using this: Tapcart.variables.product.metafields.Products.app_video Namespace: Products key: app_video Any help would be appreciated!