Support is online

Hikashop product_price export #7524

Open gnsbud opened this topic Thursday, 06 August 2015 · 4 replies
Author

Hi,

CSVI Pro 6.0.1
HS 2.5

I'm trying to export for example product_code field and product_price field (Hikashop product export), unfortunately in my exported file product_price field is always "0.00" no matter which product. In attachment some random product price box (Hikashop backend product page). As you can see, retail price is 0, however in frontend all price are displaying fine. I tried also to export field "price_with_tax" but then I'm getting some error about "skip" field which is not available in table (I'm guessing it's because price_with_tax field is not available for Hikashop product export, yet it's visible in fields while adding new field to export template).

How can I export prices in the proper way?

Best regards,
Chris

  • price-box.png
Support

Hello Chris,

Please post the debug log of your export.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Hi,

in attachment export logs.

Best regards,
Chris

Support

Hey Chris,

I have found the issue. The problem is that I hardcoded the currency ID and set it to 1 which is Euro and your screenshot shows Zloty. That way it will never find a price. This is going to require a currency filter so you can export the currency you want.

Attached is a patch file that adds this option, where it defaults to Euro. So after you loaded the patch, go to your template and then the Options tab and you will see the currency option. Select your currency, save the template and you can run the export and you should have a price.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Hi,

I did as you post, now prices are exporting fine :woohoo: As always great job RolandD! Thanks!

Best regards,
Chris

Log in to reply to this topic.