Jump to content

cqpbert

Member
  • Posts

    117
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by cqpbert

  1. I agree it is scarce. My first goal was to learn how to pass a custom price to the basket. If I could do that, then I could code a page that would generate custom quotes and allow them to be added to the basket. To simplify testing I was thinking the "page" could just have a input box to capture a value. Then if I could pass that back then I would have the necessary way to get custom dynamic pricing for a product. the ultimate goal is to allow the customer to enter any number of custom length parts. The price will be based on this. The description would be a coded string that I can parse to get all the data needed to create the parts quoted. I thought a popup type page so it would not really be embedded in CC maybe. I am sure I can figure out a work around for the description if It can't be saved with the basket entry. I did try to play around with using options for getting lengths. I tried to assign a value per mm option. Then I was hoping if I used a textbox for the option it might multiply the entered number by the value to get the total. But as you likely expect that did not work. A typical frame that we sell will have 12 - 20 different frame pieces. These may have several different lengths. and among the lengths they will have different hole placement. I am trying to provide a way for customers to get an instant quote and place the order if they want for whatever they dream up. Product options will work to allow people to purchase some qty of pre-defined lengths. That has value for me and I will likely add that in the very near future.
  2. well actually it was a typo above, but not in the correct way. It should have been 4 places not three. here is a product where I did not fill in anything (which will be an issue for sure) Here is my numbers I have entered: And here is after save and reload:
  3. Does that mean you thought about it but did not come up with anything? Or it is too complex to tray and make work from this context?
  4. YOU DID IT!!!!!!!!!!!!!!! To be sure, I entered in 20,16,4 for the dimensions and cube cart has converted them to 20.000,16.000,4.000. Thank You again. Now to get my other stuff going - I see you gave it some thought. where did you locate the UPS API specs so quickly? Seems like I should have been able to do that and not been such a PIA
  5. Thanks as always Brian. I think we are getting closer. Now the error is this: "NumOfPieces":1,"Package":[{"PackagingType":{"Code":"00","Description":"Packaging"},"Dimensions":{"UnitOfMeasurement":{"Code":"IN","Description":"Inches"},"Length":"6.0000","Width":"20.0000","Height":"12.0000"},"PackageWeight":{"UnitOfMeasurement":{"Code":"LBS","Description":"Pounds"},"Weight":"32"}}]}}} Response received (400 - Bad Request) {"response":{"errors":[{"code":"110609","message":"All package dimensions are required and each must be greater than 0 for package 1."}]}} I added string in front of the dimensions as you did on the weight hoping it would help and that I had learned something. But it did not. BTW, to me it seems like this is an error with the UPS module? Maybe the dimensions need to be numbers and not strings?
  6. No ideas anybody? Anyone know where else I can look? I really need this to work correctly.
  7. I now have a new quest. my idea is this. I want to create a product with a starting price of $0. Then in the description I will have instructions how to use the "product", and a button to start using it. The button when pressed will open a pop up window. The code for this window will be a separate file in the file system somewhere. (if there is an appropriate place please tell me). The pop up will do some stuff, but for this discussion lets assume there is simply an input text box for how much you want to pay. When you hit submit, the value is magically passed back to the product page and maybe a description. The new price would then be reflected in the price so that when you hit the add to cart button it adds the new price from the popup instead of $0. Added bonus if I can pass a string back from the popup and have that display in the description. One idea I had for that was if I can use the input box for a product option and somehow pass the description to that input box? The actual goal is to be able to configure a custom quote dynamically and in real time then get that value to the cart along with what the custom things are.
  8. Brian as always you are a genius with this stuff. I will add that to get the download attribute on it I had to view source then add it in to the link. I did not see a way to add it from the make link GUI. This will allow me to nicely add some good content to the site
  9. So the link in my document to download the file would be https://myDomain.com/files/public/filename.stp It would be a step file in this case. Then when the user click the link they would be presented with the option to download? Maybe worth noting their browser would not be able to display the file as it would a PDF or TXT for instance. Am I correct here? I will also go check this right now. Thanks Brian That almost worked. But instead of allowing me to download it, when I click the link it displays the text in the browser. As if it were a picture or something. Was there something I needed to do to make it know to download it and not display it?
  10. I feel like this has been asked and likely answered, but searching did not get me what I needed. I need to be able to put files in a place and somehow provide access to a digital download.I don't think this is a product, although I could make it one if that the only way. But maybe more a document describing the part with a link to download the step file for it. I can see this growing once I finally figure it out, like an entire download section, so trying to sort this out before I go about it the dumbest way I can find. Which is usually how things work out when I don't ask.
  11. I am still having issues with this. I am trying to upload a screen shot from my request log but that is not working. Maybe this will work: "NumOfPieces":1,"Package":[{"PackagingType":{"Code":"00","Description":"Packaging"},"Dimensions":{"UnitOfMeasurement":{"Code":"IN","Description":"Inches"},"Length":"6.0000","Width":"20.0000","Height":"12.0000"},"PackageWeight":{"UnitOfMeasurement":{"Code":"LBS","Description":"Pounds"},"Weight":32}}]}}} Response received (400 - Bad Request) {"response":{"errors":[{"code":"110601","message":"Missing or invalid package weight for package 1."}]}} that is the end of the response code for the request, as well as the response. According to the response there is no package weight, but as you can see a weight has been passed to them. I hope we can get this sorted out soon.
  12. That helps some. The auth seems to work, but the rate request does not. I don't want to post the entire error here since it has addresses in it. here is the error: Response received (401 - Unauthorized) {"response":{"errors":[{"code":"250002","message":"Invalid Authentication Information."}]}} Maybe I have too many apps in UPS? Am I supposed to only get the auth or am I supposed to get shipping as well? seems it is the rate request. here is the heading of the error: Request Sent (cURL) - https://wwwcie.ups.com/api/rating/v1/Shop I tried adding the rating app and it says its approved.
  13. It seems my UPS module quietly stopped working. I guess now I need to have some sort of app over at my UPS account. So I have done that I think. I have copied my Client ID and Client secret into the module. I have picked all the services and saved. Cleared the Cache. Logged in as one of my Canadian customers, added something to the cart but at checkout it says no suitable shipping method. Does anybody have experience with this newer module? It used to work great for USA and Canada.
  14. I don't want to sound rude, but it sounds like you are trying to show me ways to solve my problem using some other software? If no, please explain how to integrate what you have said with cubecart. If so then WTF?
  15. As always, your fix worked like magic
  16. oh I see it now! I was missing that move. I will get right on it.
  17. Thanks Bsmither, That is my son that posted. The website is dllpdf.com Do we need to change the divsion class row line?
  18. This would work well if I can use the textbox option for the length. But what I don't see how to do is multiply the number in the textbox by the option charge. I know it won't do this by design (I don't think it will anyway). But lets say the product cost .01 per mm. If you enter 1000 in the text box I want the option to add $10 to the price of the part. Then the customer could add QTY 10 of them to their cart. All costing $10 each. Maybe there is a plugin? Of maybe there is a way to do this by modifying the code again?
  19. The extrusion is raw stock I have on hand, think of it like a 2x4 piece of lumber, 8 feet long. The customer will want some number of pieces at specific lengths. It takes me on average 1 min to get them cut, machined to length, and the ends tapped. It takes me on average 10 mins to get things all set up and ready to process. that's the base fee and the cost per mm is what I sell it for. So we could simply make each length cost $1 to cover the labor, then calculate the per mm charge I guess. Most things are 18-30 pieces, so we could add another $.5 to the starting fee to cover the base fee. I think I see where you are going with the options here. Maybe. Let me see your idea.
  20. I will look into this, Thanks again!!
  21. The formula is not hard really, not sure if you would call it elementary: ((totalLength * chargePerMM)+(numberOfParts* laborRatePerMinuite))+baseFee So you see you just need the total number of parts being quoted (17 in the original post) the sum of the lengths (6600mm in original post) price per mm (varies depending on the product chosen, in this case lets say .016 dollars for labor lets say $60/hour, so $1 per min base fee covers setup ans such, so $10 then ((6600*.016)+(17*1)+10=$132.60 So assuming they like that price, they could purchase the "product". the cart should list the items and have the price. Adding holes does not alter the price, but of course I need to know to make the parts. We can figure that out once we get this going if possible. Right now the system is I get emailed, then return a price. they agree, I create a custom product then they can purchase the custom product. It is very cumbersome, and I am sure I loose sales by missing emails.
  22. Seems I have a lot of questions today. Here is my next situation: My customers often want a quote for multiple custom lengths of extrusion. They will buy them as a set. I have a formula to get the quote for them, but not sure how to get the sizes from them.So a typical list might be: 4@480mm 10@370mm 1@400mm 2@290mm I want them to be able to enter that all in and then hit a button like get quote. Maybe this would fire a script to calculate the price and present it back to them. If they like the price they can hit buy and it will be added to their cart as the list for the description and the price. As a bonus they could add features to them like holes at some dimension from the end. Maybe this would work better as a seperate page that would open to create a custom piece. This could describe the length and any holes. Then this would get added to a "quote" list. Once they have added all they want they hit the get quote button. But again how does the price stuff get passed to CC?
  23. Basically I want to let customers upload DXF files for custom cutting services. Am I able to do this?
×
×
  • Create New...