Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Specials in Bootstrap5  (Read 1547 times)

Offline Nuno Neff

  • Full Member
  • ***
  • Posts: 187
  • Karma: +23/-7
    • View Profile
Specials in Bootstrap5
« on: January 18, 2024, 10:29:15 AM »
Hello community, I can't figure out how the specials work, I can make a special using the % but when i try to make a special using price $ it doesnt work

For example if i have a product normal price is 302$

And i want to have it on sale for 272,25$

What do i have to do?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5819
  • Karma: +274/-2
    • View Profile
Re: Specials in Bootstrap5
« Reply #1 on: January 19, 2024, 04:24:07 AM »
Hello.
This works fine on the demo when entered 272.25

Offline Nuno Neff

  • Full Member
  • ***
  • Posts: 187
  • Karma: +23/-7
    • View Profile
Re: Specials in Bootstrap5
« Reply #2 on: January 19, 2024, 04:51:09 AM »
Ok now i get it I had to put 221.34

221.34€ + my tax of 23% makes 272,25€

Thanks Basara

Offline markzap

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-1
    • View Profile
Re: Specials in Bootstrap5
« Reply #3 on: January 20, 2024, 01:25:00 AM »

It seems like you're having trouble creating a special or a discount for a product using both percentage and dollar values. Let me clarify how you can achieve this:

Percentage Discount:
If you want to apply a percentage discount, you can use the % symbol. For example, if you want to give a 10% discount on a $302 product, the discounted price would be calculated as follows:
Discounted Price
=
Original Price

(
Original Price
×
Percentage
)
Discounted Price=Original Price−(Original Price×Percentage)
In this case:
302

(
302
×
0.10
)
=
302

30.20
=
271.80
302−(302×0.10)=302−30.20=271.80

Dollar Discount:
If you want to apply a discount in dollars, you simply subtract that amount directly from the original price. For a $302 product with a $29.75 discount:
Discounted Price
=
Original Price

Dollar Amount
Discounted Price=Original Price−Dollar Amount
In this case:
302

29.75
=
272.25
302−29.75=272.25

If you specifically want the discounted price to be $272.25 and you are starting from $302, then you would use a dollar discount of $29.75.

To summarize:

Percentage Discount:
302

(
302
×
0.10
)
=
271.80
302−(302×0.10)=271.80
Dollar Discount:
302

29.75
=
272.25
302−29.75=272.25
Make sure you are using the correct values in your calculations, and it should work as expected. If you are still having issues, please provide more details about the problem or the specific context in which you are working.

Offline Nuno Neff

  • Full Member
  • ***
  • Posts: 187
  • Karma: +23/-7
    • View Profile
Re: Specials in Bootstrap5
« Reply #4 on: January 20, 2024, 03:37:41 PM »
Yes i got it, thanks ;)

Offline markzap

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-1
    • View Profile
Re: Specials in Bootstrap5
« Reply #5 on: January 24, 2024, 01:25:51 AM »
To set a special price using a fixed amount, follow these steps:

Login to your admin panel.
Locate the product you want to put on sale.
Look for a "Specials" or "Discount" section.
Instead of using a percentage, input the discounted price directly (e.g., $272.25).
Save the changes.
If your platform doesn't support setting a fixed amount directly, you might need to calculate the percentage manually. In this case, a 10% discount on $302 would be approximately $272.80, close to your desired price. Check your platform's documentation or support for specific guidance.

 

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.