# Add button to change whole product category prices in ticket screen

**URL:** <https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202>\
**Category:** V4 Question\
**Created:** [February 12, 2015, 6:11pm UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202 "2015-02-12T18:11:52Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![clazo91](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@clazo91](https://forum.sambapos.com/u/clazo91)\
**Post date:** [February 12, 2015, 6:11pm UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/1 "2015-02-12T18:11:53Z")

</div>

Hello,

I would like to know if there a way to have a button that changes the prices for a whole product category.

We are offering the following special: all regular pizza $16 and all small pizza $11.5

Now i set up SambaPOS is setted up to have 2 product category for sml and reg pizzas. to add the promotion i have added a button in the product modifier screen:

 ![](https://forum.sambapos.com/uploads/default/original/3X/e/6/e6a6252a290c676f6a5c9b44ddb9650d2923c3ad.png)

Here is how i set it up:

 ![](https://forum.sambapos.com/uploads/default/original/3X/5/5/5594f3f866188b29f46a003421407c3298d3370e.png)

To reach it is quite time consuming because requires 3 step. (we do work a lot with this promotion!)

Have it in the ticket screen would already save 1 step, but  
when i try to modify the Automation Command Mappings to “Ticket” instead of “Order Line” it does update the price but updates all the prices in the ticket, any way to restrict it only to “Pizzas REG” product category?

If anybody see a better way to implement a solution I’m more than happy to do that!

I hope my post was clear enough, if not I’ll try to explain myself better!

Cheers  
Claudio

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [February 12, 2015, 6:16pm UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/2 "2015-02-12T18:16:13Z")

</div>

Does the promotion run all the time or is it only during specific hours? or specific days?

---

<div class="post-metadata">

**Author:** ![clazo91](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@clazo91](https://forum.sambapos.com/u/clazo91)\
**Post date:** [February 12, 2015, 6:19pm UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/3 "2015-02-12T18:19:51Z")

</div>

Thanks for replying so fast!

promotion runs Mon-Fri 12.00 till 14.30!

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [February 12, 2015, 6:24pm UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/4 "2015-02-12T18:24:47Z")

</div>

This is not exactly what your asking but it covers some techniques you could use. Click link and read the deeper parts of it. Some of it covers using price lists to change prices for specific hours and days. Best part is its automatic no button needed.

> [@Automatic discount based on customer discount-level with set amounts per product](http://forum.sambapos.com/t/automatic-discount-based-on-customer-discount-level-with-set-amounts-per-product/3221):
>
> I would like to setup automatic discounting based on customer discount-level (a customer custom field), where each product has fixed discounts depending on this level. For example: The customer entity has a custom field Discount-level, which can be level1, level2 or level3. Each product has three custom tags: level-1-discount level-2-discount level-3-discount This tag contains the exact amount to be discounted from the product price depending on the customer’s discount-level. If the tag i…

Specifically look here:

**[Automatic discount based on customer discount-level with set amounts per product - #120 by QMcKay](http://forum.sambapos.com/t/automatic-discount-based-on-customer-discount-level-with-set-amounts-per-product/3221/120)**

---

<div class="post-metadata">

**Author:** ![clazo91](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@clazo91](https://forum.sambapos.com/u/clazo91)\
**Post date:** [February 12, 2015, 6:28pm UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/5 "2015-02-12T18:28:22Z")

</div>

Thank you so much 😁 ! I’ll study it through! in case i have question shall i post it here or in that post? also how can i insert a spoiler tag in the post?

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [February 12, 2015, 6:31pm UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/6 "2015-02-12T18:31:32Z")

</div>

Ask it here since its more specific to your setup.

---

<div class="post-metadata">

**Author:** ![clazo91](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@clazo91](https://forum.sambapos.com/u/clazo91)\
**Post date:** [February 12, 2015, 6:34pm UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/7 "2015-02-12T18:34:25Z")

</div>

Ok thanks, is going to take a while to get trough that post, see you later!

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [February 13, 2015, 7:18am UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/8 "2015-02-13T07:18:25Z")

</div>

@clazo91, I just wrote up a Tutorial regarding the latter half of the the discussion in the post that @Jesse mentioned.

> [@VIP & Happy Hour](http://forum.sambapos.com/t/vip-happy-hour-or-timed-special-discounts-without-triggers/4203):
>
> This Tutorial has been updated and relocated here:

Even if you don’t have VIP Discounts, you can still use the Happy Hour portion of the setup to accomplish what you want in your scenario.

Keep in mind: the Tutorial presented is not the only method to accomplish your task, but it will suffice for your scenario. If you understand it well enough, you could make tweaks to it to apply to Product _Groups_ instead of individual Products. You could even set your Discount Amounts _once_ as a static value for the different Product Groups instead of setting a discount amount for every individual Product.

---

<div class="post-metadata">

**Author:** ![clazo91](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@clazo91](https://forum.sambapos.com/u/clazo91)\
**Post date:** [February 13, 2015, 8:36am UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/9 "2015-02-13T08:36:51Z")

</div>

Thank you for making it a tutorial!! i just started to study it, it is really clear!! I just begun to understand the mechanism behind SambaPOS so by now i’ll stick to the tutorial, anyway i do have some VIP customer as well so is not a bad idea to implement this as solution!!

---

<div class="post-metadata">

**Author:** ![clazo91](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@clazo91](https://forum.sambapos.com/u/clazo91)\
**Post date:** [February 14, 2015, 3:53pm UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/10 "2015-02-14T15:53:57Z")

</div>

Hello,  
I’m not too sure if here is the right place to post this,

When i set a rule i cannot select a action multiple times, i tried to search a post on the forum but i couldn’t find any.

Maybe is something very simple but now i have no clue!

Does anybody knows how to do it?

Regards  
Claudio

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [February 14, 2015, 5:01pm UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/11 "2015-02-14T17:01:33Z")

</div>

Like this: Right-click in the left side of the Action-chooser and select **Display All Values** …

 ![](https://forum.sambapos.com/uploads/default/original/3X/8/1/81752a0e7679e4507f204578d43d5fc6003ec56b.png)

---

<div class="post-metadata">

**Author:** ![clazo91](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@clazo91](https://forum.sambapos.com/u/clazo91)\
**Post date:** [February 15, 2015, 2:09pm UTC](https://forum.sambapos.com/t/add-button-to-change-whole-product-category-prices-in-ticket-screen/4202/12 "2015-02-15T14:09:00Z")

</div>

Thank you so much!!

Finally i finished the setup!!  
I also added some buttons to Disable\Enable the Happy Hour, just because when customer bring BYO they cannot get the special…

 ![](https://forum.sambapos.com/uploads/default/original/3X/8/1/81b36c5652a157360908c7377533077da33e845f.png)
