Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
We are considering implementing Prestashop with a single product but having multiple parameters which user would have to choose going through the order steps. Parameters like color, size, etc. In the end user would purchase customized product.
What would be best way to implement it in Prestashop? Maybe there is some plugin/template for that?
Maybe there is some better alternative?
We are thinking about Prestashop as payment, orders & delivery managment could be reused.
There are a few ways to do this using Prestashop attributes. The most powerful and flexible method I know of would be to use the following module which actually bypasses the standard Prestashop combination generator to allow for more flexibility and a greater number of attribute combinations. You'd be able to customize how attribute options are displayed and in what order, and the price would change dynamically as attributes (parameters) are selected by the user. It sounds like this is exactly what you hope to accomplish.
http://www.presto-changeo.com/en/attribute-modules/34-attribute-wizard-pro.html
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am working with shopeware 6 and adding the data with APIs. Using their documentation i have implemented the APIs for adding categories. Because they have given it in the docs. For more API info they asked to open swagger link.
So i tried it. But in the swagger there is no proper explanation of APIs. Somehow i manage to implement manufacturer API. But Now not able to implement add product APIs.
Please help me and let me know the required fields for the add product apis. I have tried API with some data but got error.
URL- https://www.meptrade.co.uk/api/v1/product Type - POST {
"stock":1000, "taxId":"f6ac5dsvjbd7wd3b2i32bb89e2e802fc1a1e",
"price":"100", "name":"test",
"manufacturerId":"72f26544ddfbb55eb3bwbt348ec0ea717" }
Error:-
{"errors":[{"code":"c1051bb4-d103-4f74-8988-acbcafc7fdc3","status":"400","detail":"This
value should not be blank.","template":"This value should not be
blank.","meta":{"parameters":{"{{ value
}}":"null"}},"source":{"pointer":"/0/productNumber"}}]}
The error says you are missing a required field, which in this case is the productNumber. A product needs several required fields. You can look them up in the ProductDefinition (they have the Required flag)
You need at least:
name
manufacturer
productNumber
tax
price
stock
You could also have a look at the product api test which creates a product in its tests.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am fairly new to Woocommerce, but I have an idea for a website, which would include some customization of this plugin. My idea is that instead of products, there could be some other type of data stored in the database like pictures for example. Instead of buying these products people could just put a "like" on them, but towards the engine it would register as a buy. This way I could take advantage of built-in functions like sorting for the most popular items. Is it a good idea or should I consider some other way? Thank you!
For images I would be more inclined to look at something like a Pinterest style theme.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Right now, I have an app where theres a sales table.
So far Ive done fine with storing the status of a sale in an ENUM column type.
(APPROVAL, WAITING, PAID, INVOICED, COMPLETED)
However the client keeps wanting to add more statuses.
So I don't want to keep changing the ENUM column.
Id prefer that I just build them a customizable system, where they can create their own flags for rows.
And then the system, creates queries on the fly, based on these flags.
What would be the best method to do this?
Maybe this is too broad a question and not best for StackOverflow?
The best method is to have a reference table for the statuses. You would store the status id in the sales table, and have a foreign key relationship to the status table.
You can then add new statuses quite easily and the rest of the system will just work. You can also rename an existing status, with equal ease.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 days ago.
Improve this question
I use Prestashop and EBAY and AMAZON module.
Sometimes I used PHP script (change price database 2 table) fot update all my specific category price.
But this operation do not give input for update AMAZON and EBAY module.
For update products on ebay and Amazon I need to open single product and click on save.
How can I simulate each click category for mass update on ebay and Amazon.
In your script, just call the hook ( Hook::exec('actionAdminProductsControllerSaveBefore'); in your case if i'm right, or use the one used in amazon/ebay modules).
Be carefull, they will probably need some query parameters, like id_product, so set them up before your call the hook ( $_POST["id_product"] = $id_product; )
Hope it help.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am facing a problem while creating a dynamic website. I am building it for some pharma company, which have many products. The problem is, every product have different sections of description, and have to be formatted differently. I wanted to store all the product descriptions in the database, but at the same time preserve the formatting of each description. I also plan to provide an admin interface, where they could edit the product information themselves.
I could use Joomla or any other CMS for that purpose, but i wanted to know if i want to build such a system of my own, where i could format the text in an editor and them save that thing into database and when i retrieve it, i get the same formatting. How could i do this?
Also i wanted to do this in PHP.
Thanks
-- Mohit
Just use a WYSIWYG editor like ckEditor or TinyMce. That will handle the text formatting.. then you jsut store in your database.