Questions tagged [promotions]

Promotions refer to the entire set of activities, which communicate the product, brand or service to the user. The idea is to make people aware, attract and induce to buy the product, in preference over others.

137 questions
2
votes
4 answers

What type-conversions are happening?

#include "stdio.h" int main() { int x = -13701; unsigned int y = 3; signed short z = x / y; printf("z = %d\n", z); return 0; } I would expect the answer to be -4567. I am getting "z = 17278". Why does a promotion of these…
Robert Deml
  • 12,390
  • 20
  • 65
  • 92
2
votes
0 answers

How to apply the highest discount rule under Magento

How can I apply only the highest discount rule under customer cart? Imagine 2 rules, one with 10% and another one with 15%. When the customer goes to the cart, he needs to receive 15% of discount. Is it possible? Please note that I would not like…
2
votes
2 answers

Why are unsigned integer variables generally not affected by integer promotions?

After reading quite a couple of questions on integer promotions, it seems to be the common understanding that integer promotions or only applied to small integer types, such as short int or char. However, I'm wondering why an unsigned int variable…
Multisync
  • 767
  • 6
  • 25
2
votes
1 answer

How to disable Conversions and Promotions in Java?

Ok. I think this is impossible. If you think the same, you do not need to post an answer. I have read a few lines of Chapter 5. Conversions and Promotions and it seems chapter 5 has no mention of disabling Conversions and Promotions in Java. Here is…
Alex Vong
  • 483
  • 4
  • 15
2
votes
1 answer

Is there a way to make user only able to use a specified app on an Android device without rooting?

For example, it's for promotions or events. Therefore I want users not able to leave our app. For iOS, i guess I can make a frame to physically block the main button. But for Android, i don't know how.
Sunny Chow
  • 432
  • 3
  • 13
2
votes
1 answer

Magento - buy 1 product get another free

I have two categories, I am trying to make some thing like if some one buys a product from one category, customer will have a option to choose a free product from another category(like a gift). I found some thing similar to this in admin -…
bigData
  • 1,318
  • 4
  • 16
  • 27
2
votes
1 answer

Copy artifacts from specific promoted build

I have two jobs in Jenkins. First of the name “Build” and the second of the name “Deploy to test environment”. In the first job, tester sets promotion manually, and then only promoted builds can be deployed. In second job I added “Promoted Build…
2
votes
2 answers

Java type promotion with "expressions"

Can the variable below (called b) be called an expression, if it is the only thing located to right of the equals sign? // This code fragment will not compile. // c is a char, and b is a byte. c = b; The reason why I ask this question is because…
user2911290
  • 1,396
  • 1
  • 16
  • 26
2
votes
1 answer

Promotional rules in Magento

I'm trying to get a promotional rule setup in Magento where if a user orders any items and the subtotal is between $100 and $200 they get 10% off. If it's more than $200, there is no discount and if it's less than $100 there is no discount…
ultraloveninja
  • 1,969
  • 5
  • 27
  • 56
1
vote
3 answers

magento get Catalog Price Rule or Discount Amount programmatically in the front-end by Rule Name

How can I get Catalog Price Rule programmatically in the front-end by Rule Name? I need the Discount Amount of a particular price rule.
itsazzad
  • 6,868
  • 7
  • 69
  • 89
1
vote
0 answers

How can I implement an in-app affiliate program?

My company has an app that connects vendors and clients; searching, booking, and payments done exclusively through the app. We do not currently have an option for booking through a website, just the app. We would like to create an affiliate program…
kshapiro
  • 11
  • 1
1
vote
1 answer

I'm trying to develop a feature in prestashop to apply promotions

I want to create a feature for promotions in prestashop but this does not work I want to create multiple specific prices fro several products as you can see. My problem is this code does not work. I harcoded specificPrice.id_group =…
user14885634
1
vote
1 answer

Get custom attributes to work with magento flat product catalog enabled

I need to get my custom attribute to work with Magento flat product catalog. Attribute code: free_shipping Attribute type: Yes / No Used in Product Listing: Yes Use in Promo Conditions: Yes I've refreshed the flat product catalog and all the…
mattpark22
  • 741
  • 2
  • 14
  • 26
1
vote
1 answer

Magento 2 catalog price rules based on session variable

I would like to apply catalog price rules based on a session variable that I will store for some customer segments. For example, if a customer visits the site with a specific URL parameter, I would apply some catalog price rules, that will accompany…
Shay Zalman
  • 353
  • 2
  • 9
1
vote
1 answer

How to price products 3 for a £1, or 3 for the price of 2?

I'd like to set up some products with a promotion of 3 for £1 (usual price 50p each). The closest I can find is to set up a promotion with a product price bonus of .33 for 3 products (which gives them a total of 99p) - there doesn't seem anywhere to…
RichardAtHome
  • 4,293
  • 4
  • 20
  • 29