Store Community Support Documentation
Osii

Hi! I've created a (BRL) corrency wich changes , for . and made it default, but it still not changing. How can i force it?

thanks.

Topics: corrency
JohnJr
#1

I know this is obvious but I have to ask...did you clear the cache?

Osii
#2

Yes i did...

The app i'm measuring is the Social Store. I'll check marketplace.

 

Thanks.

JohnJr
#3

Although I purchased the social store app,  I am currently not using it. There is no pick up in store as well as the tax rate was whole numbers if I remember correctly, and where I live, it is 5.5%.   Have those been fixed yet?

Since I don't have it installed...maybe something here might help...

http://knowledgebase.younetco.com/gettingstarted/categories/223/social-store/

#4

Hi,

The problem is this and it will take a long time to resolve:

https://github.com/PHPfox-Official/phpfox-v4-feature-requests/issues/548

 

 

 

JohnJr
#5

Sorry :(

Osii
#6

Too long...Phpfox team have to take into account, that if they target international costomers, they need to make international currency a standart solution (as well the ability to disable language selection). I have added to git this request:

"You should implement a javascript auto ponctuation (, and .), leaving only the numbers to be typed by the users."

 

Thank you all for the feedback.

JohnJr
#7

Yes, I agree.  I looked at the code, and I can't find where they actually used the "phpfox_currency" table - field called "format" in the code. Also, you are definitely not the first to ask about this either.

 

https://community.phpfox.com/forum/thread/56816/new-currency-v4-6-0/

https://community.phpfox.com/forum/thread/56428/point-in-currency-in-marketplace/

Osii
#8

Endeed..rs This should be priority for phpfox. I'll investigate too.

Thanks

Osii
#9

You mean this one?

PF.SITE\Apps\core\Installation\Database\Currency.php

 

JohnJr
#10

That just creates the table...

Osii
#11

Hi! I think that this is the file. I have changed and it worked for the market. Not in the social store though.

/PF.Base/module/core/include/service/currency/currency.class.php

lines 178-182;

The problem is that this is a core file (you know about phpfox warnings).

To include comma, i have change the input field, from text to number, and i'm no longer getting the "type a valid namber" message.

 

JohnJr
#12

WOW!  I was missing that whole file on my download for dreamweaver...very odd.  I see the code now where they at least grab the field in question.  I didn't look at the code (although I did download the files to my c drive now) since implied you got it to work...congrats.

Regarding phpfox warning, just make sure to make three files.

currencyORIG.class.php  - save as the original in case you need to go back.

currencyNEW.class.php  - save the new info as a new file in case of an upgrade, or it gets written over...will save you time seeing what you have done.

currency.class.php - is the original file with the changes saved and uploaded to your server.

I also keep an excel spreadsheet of all code changes I do and why I did it and what page it affects.

Osii
#13

Yes! I do that too....rs

In my case, i have not solved the conversion yet...I'm investigating ecommerce and ynsocialstore to see where the damn file is...rs