Someone asked me to do a site for them and the premise is everything ordered is a custom job. So nothing listed you can actually buy, everything is an example of the size and package. So when you go to order you choose a size and then the optional contents.
How do I accomplish this? Now under OC you go to add something to a cart, you are adding that product and then the options you selected (from what I understand, I've never actually used the option feature). What I need is when someone presses add to cart(or create order as it were) (on any product that is listed), basically a blank product should come up where you then select how to configure the product from the options available.
Is a mod like this available or am I going to have to fenagle this? Or if you can offer a different route to achieve what I'm trying to do please do so.
EDIT: After thinking about it a little more, a route to take could be creating a dedicated product page where only that page can place an order, all other listed product pages would replace the "add to cart" button with a "create order" button which would take customers from that product to the order page. This order page would have all the options to choose and place the order and in the back end that product would have a million or whatever in quantity. Any better ideas than this let me know.
Also, is there a quick way to disable all indications of out of stock labels (not change them) that I'm not aware of, or do I just have to take care of that in the coding?
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
Size -> Tier -> Occasion -> Theme
Possible other options (still fleshing it out).
I don't know what you mean by chained options...I've never touched the option feature before.
Also, with the options, is it possible that certain options only present themselves based on a previous option selection, or is that a mod that I would have to get (if that exists)?
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
https://www.opencart.com/index.php?rout ... n_id=14468
cue4cheap not cheap quality
1. create a "basic" product with a "basic price"
2. define custom options you will need
3. assign these options (the required ones) to the product (and adopt the price if needed +/-)
This will show customers at the product single view all possible options they can select with the price (+/-)
The basket then will display all selected options beside this "basic" product and the total price.
Easy - or not?
Another method can be an extension which let the customer select which option ncan eb the next - based on the previous selection
This is called a "chained option".
Unfortunetely you did not write for which OC-Version you are planning to create this webshop (is it so hard to tell as the primary facts ? ? ? ).
There are better and cheaper extensions then the above mentioned.
So go through all possible extensions by yourself: https://www.opencart.com/index.php?rout ... ch=chained
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Set up a fresh OC and play with the option feature, then come back if you still have questions.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
If, for expample, Tiers is dependant (you didn't say either way) on size, then chained options may be requitred, otherwise, just create your 4 (or more) options:
Size:
> Small
> Medium
> Large
Tier:
> 1
> 2
> 3
Occasion:
> Birth
> Wedding
> Divorce
> Death
Theme:
> Happy
> Sad
Then, on the product edit page in the admin, on the data tab, set "subtract Stock" to no (so you don't have to add 1 million to stock, can just set set stock to 1).
If that doen't work for you, then more details on why it doesn't work are needed.
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
Initial scope was to create something with options that would hide or state "out of stock" (chosen in admin) option selections with 0 quantity. This is based on a group of products instead of a single product. Basically I have products A, B, C, D all grouped as "Premium" on the option selection. When I have none of any of those products then the "Premium" selection is either hidden or set to "Sold Out", and I get a notification in the admin and by email when it reaches a different threshold like 10 or something. That worked fine.
Then I went down the rabbit hole and made the inputs and selections chained and sortable. That worked out fine.
Then I went down the rabbit whole further and ran into a coding problem that involves making uploads more logical and efficient. Everything was going fine until in my code I inadvertently caused an array to be saved as an option value with the upload (I believe). I don't know how, and I can't explain it better than that. So what happens now, is every time I log in with that user that did the upload I immediately get an error:
Code: Select all
/system/library/db/mysqli.php - line: 54 - Message: mysqli::real_escape_string(): Argument #1 ($string) must be of type string, array given - #0 /home/chris850/site_sigc/system/library/db/mysqli.php(54): mysqli->real_escape_string(Array)
#1 /storage/modification/system/library/db.php(87): DB\MySQLi->escape(Array)
#2 /catalog/model/tool/upload.php(12): DB->escape(Array)
#3 /storage/modification/system/engine/loader.php(248): ModelToolUpload->getUploadByCode(Array)
#4 /system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#5 /storage/modification/catalog/controller/common/cart.php(80): Proxy->__call('getUploadByCode', Array)
#6 /storage/modification/system/engine/action.php(79): ControllerCommonCart->index(Array)
#7 /storage/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array)
#8 /storage/modification/catalog/controller/common/header.php(107): Loader->controller('common/cart')
Thanks.
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
I fixed it by going into the db table _cart and deleting what was there. You can clearly see customer ID attached to carts in there...I first tested it by putting in a random customer ID in place of the problematic customer ID.
What I don't understand and if someone can clarify it for me, I thought "missing orders" were abandoned carts, which I deleted and this problem still remained. So I now assume things in db _cart are "abandoned" or not yet processed carts. So if missing orders are not abandoned carts as I thought they were, what are they?
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
Not sure what the confusion is - the cart is not an order .. saved item is not an order and wish list is not an order .. the order process can not start until checkout .. only after payment is it an order … anything between the two is a missing order.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Users browsing this forum: lockiedownunder, Majestic-12 [Bot] and 50 guests