Home › Forums › WooCommerce Personalized Product Options Manager (PPOM) › Price Matrix Qty Set Increments
Tagged: Price Matrix Fixed Price
- This topic has 26 replies, 2 voices, and was last updated 4 years, 1 month ago by Missingbyte.
-
AuthorPosts
-
June 30, 2020 at 4:56 pm #17821MissingbyteParticipant
Hi, I am currently looking for a solution to help me please.
I am using the price matrix to trigger price under conditions based of the selections for a print company website using PPOM PRO and everything is great and working well. The only issue is that I would like to control the Qty box in defined increments like this:
100 – 200 – 250 – 500 – 1000 – 2000 etc…. based on per product as qty amounts will change on other products.
Example page: https://www.printedlocallybirmingham.co.uk/?product=letterheads-from-24-99
I have searched for 2 days straight and can not find a solution for this using 3rd party plugins or php code. Ideally I would like a drop down menu for the selection of qty needed. I have tried setting the fields so that it would only have the increments required using the slider at increments of 50, this however works but still allows the user to go to a figure that the price matrix hasn’t got and wont show the price.
Also for the price matrix under conditions selected it leaves the first choice title then adds another underneath when you select another option, is it possible to hide the title so that they don’t show when selected ?
Warmest Regards,
James.July 2, 2020 at 1:26 pm #17905nmediaKeymasterHi James,
did you see our WooCommerce Package Price Add-on
July 5, 2020 at 4:28 pm #17927MissingbyteParticipantHi, I have looked at this also, do you have an admin demo for me to try as I will purchase once I know it’s suitable as I want to use multiple options then use conditions to trigger this?
Warmest Regards,
James.July 6, 2020 at 1:05 pm #17947nmediaKeymasterSorry, we don’t have any admin demo for PPOM for this input.
July 13, 2020 at 10:41 am #18048MissingbyteParticipantHi, I have purchased the addon and functions to how I want.
Only issue I have is that the price entered is not the price shown and need the prices to be exact.
I have set the decimal place to 2 and it seems to round the price down.
Please see the sample page here: https://www.printedlocallybirmingham.co.uk/?product=letterheads-from-24-99
The 100 option should be £31.08 but addon on makes it £31.00, if I try 4 decimals it appears correct but as £31.0800 but once I go over a quantity of 200 it starts to change the price again.
Can you please let me know if I am doing something incorrectly or if you have full documentation on using the addon.
Warmest Regards,
James.July 15, 2020 at 8:34 am #18072nmediaKeymasterHi,
actually when the option price is set lower and the quantity is higher the decimal places are increased like
if you have 50 quantity and price is 31.06, each unit price will be 31.06/50=0.6212, Now if two decimal places used it will be the total quantity will be multiplied with 0.62 only and the results will be different. So better to use higher decimal places to resolve it.
July 23, 2020 at 1:29 pm #18171MissingbyteParticipantHi,
The options will work ok with 4 decimal places only issue is that by choosing 4 decimal places is that the price is shown as this £31.0600 and I only want it to show just the 2 decimal places for the price as this £31.06.
Warmest Regards,
James.July 24, 2020 at 4:58 pm #18176nmediaKeymasterHi,
let me work around it and get back on this with a solution.
July 29, 2020 at 3:39 pm #18230MissingbyteParticipantHi, Can I have an update please.
Thanks, ; )
July 30, 2020 at 3:42 pm #18252nmediaKeymasterHi,
Sorry, we couldn’t make this fix due to other changes in new version. But soon it will be added.
August 4, 2020 at 10:18 am #18307MissingbyteParticipantHi, Do you have a time frame for this fix please as was advised to purchase the extra add on but this has now created a new issue for me and all I’m looking for is to create a correct price that has been specified by the client.
Many Thanks! ; )
August 4, 2020 at 3:58 pm #18309nmediaKeymasterHi,
It will take a week. We will fix this soon.
August 13, 2020 at 10:15 am #18395MissingbyteParticipantHi, Just checking up on an update please as I have committed to setting the products up using 6 decimal places to get the required result and hoping that my setting will not be affected.
On another note and think I know the answer to this, but do we have a way of editing the meta json file so that I can make changes as due to the options I have to create 200+ fields with the bulk price add on and assign conditions to them to control the price correctly from options selected.
I have tried json editors and the WC export product but this will only allow you to assign the meta id’s to products.
Warmest Regards,
James.August 15, 2020 at 6:58 am #18406nmediaKeymasterHi James,
Yes, it’s in pipeline and soon it will be fixed. Thanks for the patience.
And for the second question, for now only PPOM meta Ids are linked when import/export. However you can edit JSON (when exported) and import as long as you know how and what to edit.
August 15, 2020 at 10:55 am #18409MissingbyteParticipantHi, Thank you for the update and look forward to the update as it will make my life a lot easier and can get this horrible project off my shoulders.
With regards to editing the json I was hopping to snip the code and use mail merge to insert my text and numbers from a CSV file.
Here is the section for the field that the bulk price creates and have tagged << >> up the labels used
for the CSV file and generates the code in one click. I have then tried uploading but cant see any changes so must be inserting it wrong.,"<<FIELD ID NUMBER>>":{"type":"fixedprice","title":"Quantity","data_name":"<<DATA LABEL>>","description":"","options":[{"option":"50","price":"<<50>>","weight":"","id":"50"},{"option":"100","price":"<<100>>","weight":"","id":"100"},{"option":"250","price":"<<250>>","weight":"","id":"250"},{"option":"500","price":"<<500>>","weight":"","id":"500"},{"option":"1000","price":"<<1000>>","weight":"","id":"1000"},{"option":"2000","price":"<<2000>>","weight":"","id":"2000"},{"option":"3000","price":"<<3000>>","weight":"","id":"3000"},{"option":"5000","price":"<<5000>>","weight":"","id":"5000"}],"first_option":"Select your quantity","unit_plural":"","unit_single":"","decimal_place":"6","class":"","width":"12","logic":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"number_of_pages__including_cover_","operators":"is","element_values":"<<PAGES SELECTION>>"},{"elements":"cover_paper_stock","operators":"is","element_values":"<<COVER SECTION>>"}]},"ppom_id":"8"}
Any help with this would be really appreciated, if you think its possible to do this way?
I can see that by adding field they get numbered up numerically 1,2,3, depending on how many fields you have.Warmest Regards,
James. -
AuthorPosts
- You must be logged in to reply to this topic.