Import Sale Prices for Products through csv

  • Posts: 20
  • Thank you received: 0
10 years 2 months ago #206921

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 2.5.22

Hello,

I need to add sale prices to my products and I have over 100 products that this needs to be done for, but I can't see any field in the import csv file where I can add this.

Please Log in or Create an account to join the conversation.

  • Posts: 84324
  • Thank you received: 13716
  • MODERATOR
10 years 2 months ago #206938

Hi,

You have a price_value field for the price without taxes. That's the one saved in the database.
If you want to import prices with taxes, you need to use instead the price_value_with_tax column in your CSV.
You also want to specify the product_tax_id column with the id of the tax category you want for each product and have your "main tax zone" set to a taxable zone in the HikaShop configuration and have already configured your tax rules in the menu System>Taxes so that during the import, the system can dynamically calculate the price without taxes out of the price with taxes.

Please Log in or Create an account to join the conversation.

  • Posts: 20
  • Thank you received: 0
10 years 2 months ago #207048

I meant discounted prices.

Please Log in or Create an account to join the conversation.

  • Posts: 84324
  • Thank you received: 13716
  • MODERATOR
10 years 2 months ago #207053

You can enter the discounted price in the price_value column and the normal price in the product_msrp column of your CSV in that case.

Please Log in or Create an account to join the conversation.

  • Posts: 20
  • Thank you received: 0
10 years 2 months ago #207243

The website seems to only be picking up the price_msrp value and not showing the RRP Price strikethrough and the new sale price beside it. Am I doing something wrong? I have attached the file so you can see.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84324
  • Thank you received: 13716
  • MODERATOR
10 years 2 months ago #207244

It should work.
I can see however that for some products, you only specified a product_msrp and not a price_value:
take.ms/5LA2q
In that case, you would get the result you're talking about.
So maybe you tested with such product ?

If you manually enter the retail price and price in a product via the backend interface, does it work like you want ?

Please Log in or Create an account to join the conversation.

  • Posts: 20
  • Thank you received: 0
10 years 2 months ago #207458

It's showing the sale price which I have input into the price_value column, but it's not showing it like a discount.

Please see screenshot of what I want it to look like.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84324
  • Thank you received: 13716
  • MODERATOR
10 years 2 months ago #207472

Hi,

That's normal.
The system is not meant to be used like you want.
But on the product page of that product, do you properly get the two prices displayed ?
I suppose you do. So then, on the product page, all you have to do is to add some CSS to strike through the MSRP and change the text next to the prices with translation override:
hikashop.com/download/languages.html#modify
And then, if you want the same prices display on the listing, you can edit the file "listing_price" of the view "product" via the menu Display>Views and remove the code:

&& JRequest::getCmd('layout') == 'show' && $this->params->get('from_module','') == ''
(several instances of it in the file that need to all be removed)

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum