Discussions

Ask a Question

total_discount

The value of the total_discount field in the item object in the smart shopping cart is 0in the item object in the smart shopping cart is 0

About Widget Custom Templates

The price field and compare_at_price field in the product object of Widget Custom Templates are always the same. This problem occurred recently, so it is impossible to determine whether there is a discounte same. This problem occurred recently, so it is impossible to determine whether there is a discountre always the same. This problem occurred recently, so it is impossible to determine whether there is a discount

How does the rebuy rules engine work?

I'm new to using technology like this. Can someone explain to me how the rebuy rules engine works? My understanding is it uses AI. But where does it get the data that powers the AI, and how is that data collected?

Cambio de Smart Cart

Cuando tengo un producto que doy gratis en el smart cart quisiera que no ocupara tanto espacio de mi carrito y que la imagen se viera a la izquierda y la info a la derecha (en dos columnas y no en una como aparece ahora) como lo puedo hacer?

Needs documentation of Methods for Widget Custom Templates

Hi, I'm using the custom template and I notice these methods (variantOptionAvailable and selectVariantOption) aren't included in the documentation and I will need it to modify it further. Example code below. Thank for any kinds of help. ``` <div class="variant-option" v-if="option.name.toLowerCase() == 'color' || option.name.toLowerCase() == 'colour' " > <label>COLOUR</label> <div class="option-swatch color" v-bind:class="{ activeSwatch: product.selected_variant['option' + option.position] == value, unavailable: !variantOptionAvailable(product, 'option' + option.position, value) }" v-for="(value, index) in option.values" v-on:click="selectVariantOption(product, 'option' + option.position, value)" > <div class="option-swatch color-container" :style="{ backgroundImage: 'url(' + getURL(value) + ')' }" ></div> </div> </div> ```

Metafield MetaObjects

Seems that the Metafields option does not return information about metaobjects at all. Is there any timeline on where metaobject information could be made available?

Rebuy app smartcart item quantity change.

I want to change rebuy lineItem quantity from label to dropdown select or input tag, so that on change of item input field by typing lineItem change accordingly increase or decrease. I didn't found any onChange/change method for smart cart. theres only increaseItem decreaseItem

Data Source Create API

Is it possible to create and update Data Source using API? I am hopping to update Data source rules from our ERP system. Thanks

Update cart drawer after adding new item through Javascript

I'm trying to refresh the Smart Cart after adding a new item to the cart using Shopify's AJAX API. However, after the request is completed, the product gets added to the cart, but the Smart Cart doesn't update with the new item. Is there a method I can call through Javascript to update the Smart Cart after a new item is added? Thanks in advance!

Track Post-Purchase page's purchases using TikTok pixel

One of our clients wants to track the purchases that are done through the Post-Purchase page using Tiktok pixel. Is there an event, API, or something that I can use to trigger the TikTok pixel every time a post-purchase is made through the app?