cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Special price

Regarding Special price

We are using the Magento version 2.4.5 and facing the below issues:-

 

We are using the special price and passing the start date and end date for the same but we are not able update the price till the end date for the special price is over.

 

Can you please let is know if we can bypass this feature and update the special price even between the start date and end date is not over for that particular product.

 

 

simant
8 REPLIES 8

Re: Regarding Special price

What kind of error do you receive when you try to update the price? Are you updating the price or the special price?

Founder at https://agency418.com

Re: Regarding Special price

The issue I am facing is:-

 

 when we update the price from API, we have to add the start and end date. This creates a scheduler in Magento and doesn’t let us update the price until the end date is reached.

For this, the user updates the price once again via the Magento backend. What we want in API is, that once we update the price in bulk for different SKUs via the price upload template, it should immediately update/overwrite the price in Magento without any schedulers being created. 

simant

Re: Regarding Special price

When setting special price from REST /V1/products/special-price API endpoint, price_from and price_to are only required fields in Adobe Commerce, not in Magento 2 Open Source.

If you're using open source, you don't have to add the start and end date.

Founder at https://agency418.com

Re: Regarding Special price

I understand the issue you're facing with Magento version 2.4.5 and the special price feature. While Magento's special price functionality is designed to automatically apply and remove discounts based on the specified start and end dates, you can work around this if you need to update the special price before the end date has passed.

Here's a potential solution:

  1. Manual Price Updates: You can manually update the special price for a particular product even if the end date is not over. To do this, navigate to the product in the Magento admin panel, edit the product, and in the "Advanced Pricing" section, update the special price field. This way, you can override the automatic start and end date settings.

  2. Custom Development: If you find that manual updates are not suitable for your needs or if you have a large number of products to manage, you may consider custom development. A developer can create a custom module or script that allows you to update special prices without regard to the start and end dates. This would provide more flexibility and control over your pricing strategy.

  3. Extension/Plugin: Check the Magento marketplace for extensions or plugins that offer advanced pricing features. Some third-party extensions might provide more granular control over pricing and allow you to make changes within the start and end date range.

Remember that bypassing the built-in feature should be done carefully and thoughtfully, as it can affect your pricing strategy and potentially confuse customers if not managed properly. Always make sure to backup your data and thoroughly test any changes in a development or staging environment before implementing them on your live site.

I recommend consulting with a Magento developer or specialist who can help you implement the most suitable solution for your specific business needs.

If you have more details or specific requirements, please feel free to share, and I'll provide further assistance.

Re: Regarding Special price

Actually the issue is if I have passed the start date and end date for some particular product we cant edit the price again till the end date is passed.

simant

Regarding SKU push as per the store

I am having 2 stores carrying single main website.

 

How can I hit product as per the store view which are having same website.currently the product hit from rest API are visible to both as they are having same website id.

 

I need to push via rest API


@toniagency82ed wrote:

What kind of error do you receive when you try to update the price? Are you updating the price or the special price?


 

simant

Re: Regarding SKU push as per the store

Just put the store code of relevant store view in the path of the rest API endpoint:

 

/rest/INSERT_STORE_CODE_HERE/V1/

 

BTW. If it's price you're updating, price is global or website scope, depending ont he config but can not be store view scoped.

Founder at https://agency418.com

Re: Regarding SKU push as per the store

tHANKS A LOT LET ME TRY THIS.

 

May I also have your contact so that we can connect over the mail or whatsapp

simant