BillWu Posted October 18, 2015 Share Posted October 18, 2015 I have two currency on my site, Hong Kong Dollar and US Dollar. My default is USD. I was trying to set a specific price for a product combination in Hong Kong Dollar for customers in Hong Kong. I intend to put HKD290.- for the product combinaton for HK Customer and sell US$40.- for US Customers in USA but I couldn't get it done, is my assumption not workable on Prestashop or have I missed out something ? Could anybody give me some hints ? Anybody experienced a similar problem ? Thanks for anyone which could offer some help. Link to comment Share on other sites More sharing options...
NemoPS Posted October 19, 2015 Share Posted October 19, 2015 You should set the normal price for everyone in the combo, then a specific one here:http://screencast.com/t/LPZyjV4z Link to comment Share on other sites More sharing options...
BillWu Posted October 20, 2015 Author Share Posted October 20, 2015 Rule Combination Currency Country Group Customer Fixed price Impact Period From (quantity) Action -- 18L - Box - 12 gross Hong Kong Dollar HongKong All groups All customers 449.03 $ -- Unlimited 1 -- 16L - Box - 12 gross Hong Kong Dollar HongKong All groups All customers 418.06 $ -- Unlimited 1 -- 14L - Box - 12 gross Hong Kong Dollar HongKong All groups All customers 418.06 $ -- Unlimited 1 -- 18L - Gross(144pcs) Hong Kong Dollar HongKong All groups All customers 37.42 $ -- Unlimited 1 -- 16L - Gross(144pcs) Hong Kong Dollar HongKong All groups All customers 34.84 $ -- Unlimited 1 -- 14L - Gross(144pcs) Hong Kong Dollar HongKong All groups All customers 34.84 $ -- Unlimited 1 -- 18L - Dozen(s) Hong Kong Dollar HongKong All groups All customers 4.34 $ -- Unlimited 1 -- 16L - Dozen(s) Hong Kong Dollar HongKong All groups All customers 3.87 $ -- Unlimited 1 -- 14L - Dozen(s) Hong Kong Dollar HongKong All groups All customers 3.87 $ -- Unlimited Hello, From the specific prices as above, my default currency is USD and I was trying to set specific prices for Hong Kong in HKD for all customers. I have set up 9 product combinations as shown above, all the specific prices are working except the last one was working. I mean when I have set up the last time, the quantity plus and minus function on the product page stop working, unable to increase at all, also when I selected other combinations from the dropdown menu from the selection, nothing happened, everything stands still ? I was thinking may be something wrong during the save and stays procedure, so I kept repeating the same last step, trying to make it function but in vain. Could anybody suggest what's wrong with my case ?? Thanks for anyone who could help. Link to comment Share on other sites More sharing options...
BillWu Posted October 20, 2015 Author Share Posted October 20, 2015 This is a repeat of my previous post but with a clearer attachment of my 9 product combinations. Hello, From the specific prices as above, my default currency is USD and I was trying to set specific prices for Hong Kong in HKD for all customers. I have set up 9 product combinations as shown above, all the specific prices are working except the last one was working. I mean when I have set up the last time, the quantity plus and minus function on the product page stop working, unable to increase at all, also when I selected other combinations from the dropdown menu from the selection, nothing happened, everything stands still ? I was thinking may be something wrong during the save and stays procedure, so I kept repeating the same last step, trying to make it function but in vain. Could anybody suggest what's wrong with my case ?? Thanks for anyone who could help. a product with 9 combinatons.pdf Link to comment Share on other sites More sharing options...
BillWu Posted October 20, 2015 Author Share Posted October 20, 2015 can it be that my last combination I mentioned is the default combination and that's why it's not working ? Link to comment Share on other sites More sharing options...
BillWu Posted October 20, 2015 Author Share Posted October 20, 2015 Briefly repeat my case as follows: I found the following happening: I tired to set specific prices for 9 product combinations for HKD for HK customers, I set up 8 of the combinations and testing the product page as I went along, everything fine. However, when I set the default combination at the very last step, the product page stop working, quantity plus and minus sign no reaction, the other selections do not show up after selecting. So, I conclude that there should be some relationship between the default combination of my product and the failure of the corresponding specific price - ie when you set the default combination, the specific price would not work ???? Anybody could comment, please let me know and discuss. Thanks for anyone who would like to discuss and advise . Link to comment Share on other sites More sharing options...
gabdara Posted October 20, 2015 Share Posted October 20, 2015 Go to the product page that's not working anymore and look in the browser console (F12, ESC) to see if there are any javascript errors. 1 Link to comment Share on other sites More sharing options...
BillWu Posted October 20, 2015 Author Share Posted October 20, 2015 yes, it's a Javascript error as follows: Uncaught TypeError: basePriceDisplay.toFixed is not a function how may I proceed next would you advise ? to go to the program to correct it myself ? how may I do this ? Link to comment Share on other sites More sharing options...
NemoPS Posted October 21, 2015 Share Posted October 21, 2015 try this parseFloat(basePriceDisplay).toFixed(); Link to comment Share on other sites More sharing options...
Recommended Posts