caitanya Posted January 23, 2003 Share Posted January 23, 2003 hi, i have a shop in english and in german language. now i have a problem that the price for the german book is different from the english book price. ist there any way to get (define) in the admin two different fields also for the prices? just like the title or the description fields. thanks, caitanya Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted January 23, 2003 Share Posted January 23, 2003 I can imagine two ways: If the price difference is computable with a formula, you can modify the display_price() function and compute the result depending on $language. Oh, and probably the checkout system too. If not, you have to add a second price field in the database, and modify admin and catalog accordingly. It's not difficult to do, but there's quite a lot of files to change. Christian Lescuyer Link to comment Share on other sites More sharing options...
Salvo Posted January 23, 2003 Share Posted January 23, 2003 hi, i have a shop in english and in german language. now i have a problem that the price for the german book is different from the english book price. ist there any way to get (define) in the admin two different fields also for the prices? just like the title or the description fields. thanks, caitanya Hi there. I believe that they are two books (one in English one in German). why don't you treat them like two products? and show each book in two prices. Euro and Pound. There are after all two products. aren't they? Link to comment Share on other sites More sharing options...
Ajeh Posted January 24, 2003 Share Posted January 24, 2003 I can imagine two ways: If the price difference is computable with a formula, you can modify the display_price() function and compute the result depending on $language. Oh, and probably the checkout system too. If not, you have to add a second price field in the database, and modify admin and catalog accordingly. It's not difficult to do, but there's quite a lot of files to change. Found a flaw in that method of altering prices. There are a few sections in the checkout and orders that appear to be using format rather than display_price and making the changes there is not universal. Once I find all of these places, tonight or tomorrow as that is what I am doing right now, I will see who should be fixed or changed or at least a reason why this is done in a different manner. Link to comment Share on other sites More sharing options...
caitanya Posted January 24, 2003 Author Share Posted January 24, 2003 thanks to all i think in my case the best is to treat the 2 books as to 2 items and in this way also the isbn nr. is solved. but in any case i will try this with the display_price() : thanks again... Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted January 24, 2003 Share Posted January 24, 2003 ... Oh, and probably the checkout system too. Found a flaw in that method of altering prices. Yes, at the last second I had a look at the checkout and added the last sentence... No time to do a serious check. :( Christian Lescuyer Link to comment Share on other sites More sharing options...
Ajeh Posted January 24, 2003 Share Posted January 24, 2003 Okay ... sometimes I am slow ... sorry, I missed your caution in there ... :shock: Granted I was in the midst of this very thing and blurry eyed from it at the time ... :wink: Link to comment Share on other sites More sharing options...
devink Posted April 17, 2003 Share Posted April 17, 2003 Hi all, I'd be interested to know if this was taken any further? I see it as a useful contribution (I'm not a PHP programmer myself unfortunately). You often have different prices for different markets, that are not just a simple formula to get from one to the other. I have a client asking this question at the moment. Many Thanks, Steve Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.