rubben1985 Posted November 17, 2020 Posted November 17, 2020 well......... I Just realized the checkbox active was not active 😂😂😂 Thanks any way 🙂
30knees Posted March 12, 2021 Posted March 12, 2021 Hi @datakick What's the difference between 'bind, 'constant', and 'interpolate' for values? I'd just like to change the order status from 1 to 2. Thanks!
datakick Posted March 12, 2021 Author Posted March 12, 2021 56 minutes ago, 30knees said: Hi @datakick What's the difference between 'bind, 'constant', and 'interpolate' for values? I'd just like to change the order status from 1 to 2. Thanks! Every action have some parameters, and you need to somehow provide values for these parameters. The easiest way is to use Constant value - every time the action run it will pass this value as action parameter. Sometimes, you need to provide dynamic data. For this, you can use Bind -- you will bind parameter value to some information provided by Trigger (Every trigger provide different set of information). For example, trigger 'Stock quantity changed' provides information about 'new quantity', and you can use this information in action. Interpolation is something between Constant and Bind - you provide constant text, but part of this text will be replaced with dynamic values from (possibly multiple) action variables. This is useful for example if you want to construct email subject like "Hello {{firstname}}, your order {{order.reference}} has been shipped" Note that when you writing value for Interpolation, you need to pres @ and then select the variable to be inserted. And that's all. Simple. 1
Jennifer Posted April 25, 2021 Posted April 25, 2021 Hello! How could I add a minimum order amount to the discount coupon you create when you approve a review?
lkanada Posted June 1, 2021 Posted June 1, 2021 Hello, I hope you are well and congrats for your modules and work in prestashop. I have a problem, i try to explain because is a custom problem in prestashop I have 4 different products: PRODUCT A PRODUCT B PRODUCT C PRODUCT D And a pack (PRODUCT Z) with contains 4 attributes with a select: Option 1: PRODUCT 1 / PRODUCT 2 / PRODUCT 3 / PRODUCT 4 Option 2: PRODUCT 1 / PRODUCT 2 / PRODUCT 3 / PRODUCT 4 Option 3: PRODUCT 1 / PRODUCT 2 / PRODUCT 3 / PRODUCT 4 Option 4: PRODUCT 1 / PRODUCT 2 / PRODUCT 3 / PRODUCT 4 Product Z will be, for example: option 1: product 1 / option 2: product 1 / option 3: product 3 / option 4: product 2 How can i parse this? When a PRODUCT Z is sold, decrease the quantity of A, B, C, D according to the customer selection... Following the sample, it will be: Product 1: decrease 2 units Product 2: decrease 1 unit Product 3: decrease 1 unit Is it possible with CONSEQS? Thanks in advance! --
30knees Posted August 23, 2021 Posted August 23, 2021 Is there a way to only have the trigger only on stock 'increases', i.e. is there some type of 'dynamic' value I could use for that as a condition? I'd love to have a track record of when I added stock.
beetea Posted December 24, 2021 Posted December 24, 2021 Will this module convert loyalty points to a voucher? I'd like the trigger to be "set status to delivered" then the voucher is created automatically. Would the SQL statement be the best option for this? I'm new to TB and just getting accustomed to the structure. If you can just point me in the right direction I'd appreciate it very much.
Venga Tan Posted January 25, 2022 Posted January 25, 2022 (edited) Hi there @datakick I been spending time trying to find out how to create or assign a user to a existing coupon voucher if they had used a voucher for current order (ie free coupon gift afterr order using current coupon)。 Any means to make this happen? Ideally this is to happen only after item is shipped and not returned in prestashop (and criteria order used Voucher/Discount Code XXXXX) Edited January 26, 2022 by Venga Tan
30knees Posted December 13 Posted December 13 Hi @datakick, I woud like to add a free product whenever products from a manufacturer are bought. Under "conditions" I don't see "manufacturer" as an option (only manufacturer as an address). Is this correct and would it be possible to add it (same as "combinations")? Thanks!
datakick Posted December 13 Author Posted December 13 16 minutes ago, 30knees said: Hi @datakick, I woud like to add a free product whenever products from a manufacturer are bought. Under "conditions" I don't see "manufacturer" as an option (only manufacturer as an address). Is this correct and would it be possible to add it (same as "combinations")? Thanks! Conditions are specific to used trigger. What trigger are you using, and what action do you want to perform?
30knees Posted December 13 Posted December 13 4 minutes ago, datakick said: Conditions are specific to used trigger. What trigger are you using, and what action do you want to perform? The trigger is "New order created". Action is "Add free product to order".
datakick Posted December 13 Author Posted December 13 Just now, 30knees said: The trigger is "New order created". Action is "Add free product to order". I'm afraid this is won't work. You can create conditions for order object, not for order products. The condition would have to be something like 'Order contains products from manufacturer XXX', and that's too complicated to implement. But I believe you can achieve the desired outcome using build-in Cart Rules. leave cart rule 'Code' empty so it is applied automatically in condition, set product restriction like this and in action, use 'Send a free gift' Should work out of the box 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now