Discussions
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?
Posted by Janice Dougherty 2 days ago
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?
Posted by Daniel hernandez 3 months ago
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>
```
Posted by null 7 months ago
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?
Posted by Eric 7 months ago
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
Posted by zuhair 10 months ago
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
Posted by Joseph James about 1 year ago
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!
Posted by Juan about 1 year ago
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?
Posted by Juan about 1 year ago
Create custom logic to show Products grid add to cart button .
I want to add some javascript logic before rendering the add to cart button. I am using another app for inventory checking based on location and I want to create some custom logic to show customer add to cart or sold out based on the availability of products in that location .
Posted by Safin Sayed over 1 year ago
Rebuy Endpoint Search
Hi,
I tried the "Try it" from https://developers.rebuyengine.com/reference/search and filled out the empty stuff on the left side, with a common search term like "Harry Potter" and the next few ones with some standard things.
Whatever I do I don't get more then a {"data":[]} response.
I thought its maybe because of the demo store, so I tried the same with my own api key and I don't get any stuff.
Thanks for the answer in advanced.
Posted by null over 1 year ago