Jump to content

promotion / discount to selected option only Rate Topic   - - - - -

 
  • grabbags
  • Senior Member
  • Members
  • Join Date: 14-Aug 07
  • 299 posts

Posted 14 October 2011 - 07:48 PM #1

I know how to create a promotion to a product. However, is there a way apply discount to selected options only.

For example. Only the T-shirt in blue color is on sale. Other colors is at regular price. Thank you!
CS-Cart v. 2.1.4

 
  • johnbol1
  • Senior Member
  • Members
  • Join Date: 23-Feb 10
  • 2,482 posts

Posted 15 October 2011 - 05:40 PM #2

View Postgrabbags, on 14 October 2011 - 07:48 PM, said:

I know how to create a promotion to a product. However, is there a way apply discount to selected options only.

For example. Only the T-shirt in blue color is on sale. Other colors is at regular price. Thank you!

In the options of the Blue shirts put the option modifier @ minus £2.00 or whatever This would then drop thne price of the blue shirt only. Then you would have to work out how to mix this with your promotion material or rather how to tell everyone the Blue shirt is on Sale etc.

John
www.hivis.co.uk the UK's online hivis safety marketplace

"Give me a man that tries and fails
than a man that never tries at all"

 
  • grabbags
  • Senior Member
  • Members
  • Join Date: 14-Aug 07
  • 299 posts

Posted 18 October 2011 - 09:17 PM #3

View Postjohnbol1, on 15 October 2011 - 05:40 PM, said:

In the options of the Blue shirts put the option modifier @ minus £2.00 or whatever This would then drop thne price of the blue shirt only. Then you would have to work out how to mix this with your promotion material or rather how to tell everyone the Blue shirt is on Sale etc.

John

Thank you for your advice, johnbol1. In fact, I have a case break in place. Using plus or minus cannot set a fix discounted price.
CS-Cart v. 2.1.4

 
  • johnbol1
  • Senior Member
  • Members
  • Join Date: 23-Feb 10
  • 2,482 posts

Posted 18 October 2011 - 10:02 PM #4

View Postgrabbags, on 18 October 2011 - 09:17 PM, said:

Thank you for your advice, johnbol1. In fact, I have a case break in place. Using plus or minus cannot set a fix discounted price.
Does OK for me In the option modifier put minus figure for the modifier.
I have a sign at 500x500 costs £30, but I also have an option for it to be only300x300 and this has a discount of £10.The reason I do it this way is the material comes in 500x500 so to have it cut down is wasting material.

John
www.hivis.co.uk the UK's online hivis safety marketplace

"Give me a man that tries and fails
than a man that never tries at all"

 
  • jrchew
  • Newbie
  • Trial users
  • Join Date: 25-Jan 12
  • 8 posts

Posted 27 January 2012 - 04:43 PM #5

Hi JohnBol1,

I have retail and wholesale user groups. Each of my products has 4 options (red shirt, blue shirt, green shirt, yellow shirt)

How would I apply the following discounts to the wholesale user group only?

39% disount to red shirt
41% discount to blue shirt
40% discount to green and yellow shirts

 
  • jrchew
  • Newbie
  • Trial users
  • Join Date: 25-Jan 12
  • 8 posts

Posted 30 January 2012 - 07:33 PM #6

Question for the developers:

I'm finding that the ability to apply variable discounts to product options is not possible without custom coding. Is the CS-Cart team looking in to making variable discounts available to product options as described in my post above?


Thanks, CS-Cart is a dream to work with in every other area.

 
  • sok777
  • Senior Member
  • Members
  • Join Date: 23-Jun 11
  • 120 posts

Posted 08 July 2012 - 12:07 PM #7

Good idea Jrchew,

I need that too. It would be perfect to have possibility to choose if to apply promotion to entire product with all options or particular option variant (based on product code "for example"), So one option variant may have 30% discount another one 45% discount and for eaxample others without discount....the discount icon in this case should be next to the option...

 
  • johnbol1
  • Senior Member
  • Members
  • Join Date: 23-Feb 10
  • 2,482 posts

Posted 08 July 2012 - 01:53 PM #8

View Postsok777, on 08 July 2012 - 12:07 PM, said:

Good idea Jrchew,

I need that too. It would be perfect to have possibility to choose if to apply promotion to entire product with all options or particular option variant (based on product code "for example"), So one option variant may have 30% discount another one 45% discount and for eaxample others without discount....the discount icon in this case should be next to the option...
In individual product options you can have the modifiers take a percentage off any option/variant by using the minus sign

John
www.hivis.co.uk the UK's online hivis safety marketplace

"Give me a man that tries and fails
than a man that never tries at all"

 
  • sok777
  • Senior Member
  • Members
  • Join Date: 23-Jun 11
  • 120 posts

Posted 08 July 2012 - 08:10 PM #9

Thanks for reply John,

but to use modifiers with minus is not really the solution in my case.

If I have one product available in 10 sizes, Instead of creating 10 products for every size I prefer to create one product with 10 option variations. General price in this case will be 0 and options price (modifiers) will be current price for every size. Now I would like to make promotion for this product, but not for all sizes. So I would like to set up for example -30% for size A and 45 % for size C, the other sizes will stay without promo. I can choose options if it is "cart promotion", but I want to be able to choose options also for "catalogue promotions".

So far I figure out how to activate options picker under conditions in catalogue promotions for products. But I am little bit stuck how to show it in the right way on product page. I mean old price, new price and discount % label next to the option which has active promo....

to activate it in schema.php in the schemas/promotions/

I changed on line 59

           	 'type' => 'links',


to

           	 'type' => 'table',
                'aoc' => true


 
  • sok777
  • Senior Member
  • Members
  • Join Date: 23-Jun 11
  • 120 posts

Posted 09 July 2012 - 02:42 PM #10

so I tested in front office and it is working!!! I mean I created 2 promotion for one product for different product options with different discount (in catalogue mode). It works on change (reload) of options but the problem is how to hide Label and save price for options which do not have discount.....
Any idea what would be the right condition statement?

<div class="discount-label cm-reload-{$obj_prefix}{$obj_id} {if [b]$new_condition?[/b] hidden{/if}" id="discount_label_update_{$obj_prefix}{$obj_id}">


 
  • sok777
  • Senior Member
  • Members
  • Join Date: 23-Jun 11
  • 120 posts

Posted 10 July 2012 - 10:57 AM #11

the solution to hide "empty labels" is in my other post.

Now we have "promotion / discount to selected option only"

hope it helps to save time to somebody.