Hikashop & syncing price/taxes

  • wirthconsulting
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 5 months ago #1 by wirthconsulting
Hikashop & syncing price/taxes was created by wirthconsulting
Hi Antonio,

I am currently testing Hikashop integration in 0.7 and there are two problems I have noticed with the pricing:

Issue 1:
Essentially in Australia we have to show the tax component (GST) of the price by law. In Moodle we set the 'with tax' price (which is fine), publish the product in Shop under Joomdle and the price comes through as e.g. $5.00. What it doesn't do is automatically set the 'without tax' price - it just sets the without tax price the same as the with tax price. So when someone checks out there is no tax displayed.

Th reason it does this is because when Joomdle syncs the product it doesn't recognise the default tax category setting. i.e. when you create a new product in Hikashop from scratch the default tax category is automatically applied to each new product (as long as you have set it up correctly).

But when a product is automatically synced & added from Joomdle, it doesn't recognise this setting and configures no tax category.

At the moment we can obviously manually set the Tax category and manually update the 'without tax' price each time but the problem is each time we sync the product this is overwritten (although see issue below for a related issue).

The fix that I can think of is specifying the tax category ID in the Joomdle enrolment plugin so it creates the normal 'with tax' price based on the tax category and then the 'without tax' price should automatically be filled when the sync process saves the product - could/would this work do you think?


Issue 2:
Each time you re-sync the products under Joomdle -> Shop, the price in Hikashop is added again. If you re-sync a third time, the price is added again. So now there are 3 prices for the same product.

It doesn't seem to update the existing price field, it just creates a new one?


Appreciate your thoughts on these two issues,

Thanks,
Bianca

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

More
14 years 5 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Hikashop & syncing price/taxes
Hi Bianca.

Thank you very much for the detailed bug report. I will look at it asap, and let you know what I find.

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

More
14 years 5 months ago #3 by Antonio Durán
Replied by Antonio Durán on topic Re: Hikashop & syncing price/taxes
Hi again.

I tested issue #2 and could not replicate it: prices are updated correctly. Are you using version 1.5.4?

About isse #1: I configured a taxt zone and now I see what you mean.
You talk about price and price wothout tax. In my hikashop, I see "price" and "price with tax", so I don't know if it's just a mistake or your version is different.

Anway, to apply taxes we can:
1- Get the moodle price as "price with tax", and deduct taxes for entering the "price" field.
2- Or get the moodle price as "price", and add taxes to get "price with tax".

I guess option 1) makes more sense, and you?

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

  • wirthconsulting
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 4 months ago #4 by wirthconsulting
Replied by wirthconsulting on topic Re: Hikashop & syncing price/taxes
Hi Antonio,

Sorry for the late reply.

For issue #1: Option 1 would be great if you can add that functionality. You are correct it says "Price / Price with Tax". In the meantime I'll just remember to edit the tax manually after anytime I sync.

For issue #2: At the time of your question I was using 1.5.5 but this week upgraded to 1.5.6 (latest Hikashop version) and the issue still occurs.


After doing some testing it is quite strange - the first product in my list doesn't duplicate the price but the other two do. I tried a range of edits such as editing/not editing in Hikashop, removing them completely, editing one product but not another one, changing different fields in one and not the other but couldn't see that a difference in the configuration caused the issue. Each course is configured pretty much the same in Moodle. All the Joomdle payment plugin details look correct too.



Can you duplicate this at all in the new versions?

Happy to give you access to my site to take a look if you need to.

thanks,

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

More
14 years 4 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic Re: Hikashop & syncing price/taxes
Hi.

I will try to include 1) for next release.

As for 2), I tried again, but could not replicate the problem. What joomla version are you using?

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

  • wirthconsulting
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 4 months ago #6 by wirthconsulting
Replied by wirthconsulting on topic Re: Hikashop & syncing price/taxes
Thanks. I am using Joomla 1.7.3

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

More
14 years 4 months ago #7 by Antonio Durán
Replied by Antonio Durán on topic Re: Hikashop & syncing price/taxes
Me too, but I don't have that problem.

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

  • wirthconsulting
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 4 months ago #8 by wirthconsulting
Replied by wirthconsulting on topic Re: Hikashop & syncing price/taxes
Hmmm - OK - thanks for looking into to it Antonio. What I will do is monitor it and keep testing as I have more products to add so I'll try to figure out what is going on and post here later.

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

More
14 years 4 weeks ago #9 by LN
Replied by LN on topic Re: Hikashop & syncing price/taxes
Hello Antonio,

I have the same problem with issue #2 - prices are replicated and seen by buyers. Using joomla Joomla! 2.5.4, Joomdle 0.81, Moodle 2.2.2+ (Build: 20120427) and HikaShop Starter 1.5.7.

Any idea?

Thanx

L.

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

More
14 years 4 weeks ago #10 by LN
Replied by LN on topic Re: Hikashop & syncing price/taxes
Hi again,

it happens when you reload data from Moodle... I solve the problem by deleting rows in database. Looks like after reload older prices remain in database active and new are added...

L.

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