This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

gnolino

  • **
  • 16 posts
Set 100% discount only for ads in the User Group
« on: May 12, 2020, 06:54:19 PM »
Hi,
I created an User Group that has 100% discount.
I 'd like to set this discount only for ads so that the members must to pay for every other promotions.
Anybody know where I can find code to modify it?
Thanks
gnolino

*

MB Themes

Re: Set 100% discount only for ads in the User Group
« Reply #1 on: May 13, 2020, 11:19:15 AM »
@gnolino
Osclass pay does not allow free checkout.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

gnolino

  • **
  • 16 posts
Re: Set 100% discount only for ads in the User Group
« Reply #2 on: May 13, 2020, 07:55:06 PM »
Oops!
So it 's not possible to modify osp_user_group_discount() anyway.
I tried to do it but I can only show price I wish but I 'm not able to send it to the cart.
I beleve I have to intercept it the another place and pass it as an array, but ... where ?
Is it a wrong way?
Thank a lot for your attention.

Marked as best answer by gnolino on May 14, 2020, 06:57:43 AM
*

MB Themes

Re: Set 100% discount only for ads in the User Group
« Reply #3 on: May 13, 2020, 07:58:47 PM »
Even you would change discount to 100%, payment/checkout will not have any way to complete order.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

gnolino

  • **
  • 16 posts
Re: Set 100% discount only for ads in the User Group
« Reply #4 on: May 13, 2020, 08:31:06 PM »
Ok ,
Thanks