Remove default attributes from prestashop 1.6.1 - prestashop

I need help.
I need to know if there is any possibility of deactivating the default attributes of prestashop; And Do not add to the shopping cart. ?
The problem is the following,
I have a number of products created in prestashop, (2770) each product with color combinations. (9 different colors each product) and each product depends on a color and quantity (stock) to buy.
The problem comes when I use another module, to create all other combinations (m2 x m2) etc.
With this new module, I manage everything. Prices, quantities, colors, sales by meters etc.
But with this module, I have to eliminate the combinations (attributes) created in prestashop and create them directly from the new module.
But, I can not eliminate that they are in prestashop, because they are created by a dropshipping provider and they manage the stock every day by color attribute.
I have hidden the attributes created by the prestashop. (They can not be seen on the products page). So far so good.
I create the attributes in the new module.
But the problem comes, when adding a product to buy, to the shopping cart; My client selects the attributes and combinations of color created by the new module, but when adding to the cart two colors are added (the one that comes by default in prestashop) and the one of the new module.
I can not eliminate the combinations created by the dropshipping provider because I can not stop using the stock.
But I need the other module to create another series of combinations (sale by meters boxes) that prestashop does not do.
Question? I can in some way disable the prestashop default combination and not add it to the shopping cart.
Thanks for your help, forgive English (I'm using google translator)

I would advise you to modify the update of your Dropshipping to arrive in your module (at least at the stock level).
Or make a script that once the vendor stocks the products in the shop, make a transfer of quantities in the other declinations, and then remove that from PS.
We are used to this kind of case, being a dropshipping specialist.
Regards,
**forgive English (I'm using google translator)*

Related

Shopify changing product price for variation by app

I am a shopify partner, I am trying to get around the the variant limits of shopify by coding an app and also because my client has a complicated formula for calculating the price. I don't have a problem with the part that adds the information for my variants to the order, however when I want to modify the price based on the user selection, it doesn't seem an easy task to do.
I came across couple of apps which does the same thing by adding a new product or variation which is not optimal for my use case, is there any app that does the job without adding extra information to the database, if so, how?
Qualified Yes
Unfortunately, Shopify doesn't give us a lot of options to edit prices of items dynamically. Here are the two options that I know of that will allow you to adjust the price of a product directly - however, both have limitations.
Using Shopify Script Editor
If you're working with a Shopify Plus merchant, you can use the Shopify Script Editor to dynamically adjust the prices of products, provided that the direction you adjust is down. You cannot increase the price of a product using the script editor - so for your use case, the list price would have to be the most expensive possible price that the item sells for, which you would then discount appropriately using the app.
Using draft orders
Using an app, you can use Shopify's Draft Order API to create an order with custom discounts and/or create completely custom items that are independent of the products set up in the product database.
The basic flow for this is that when the customer clicks 'checkout' you halt the normal navigation, send the cart contents to your app, create a draft order with the appropriate pricing, then supply the front-end code with the draft-order checkout/invoice URL so that you can send the customer there instead of the normal checkout. This has several limitations, however, including that prices of existing products can only be discounted, not increased, and the fact that Shopify will not allow a customer to use discount codes on a draft order invoice - once an order is set up this way, Shopify's assumption is that all prices are final.
Disclaimer: Sorry if someone sensible doesn't like a response with a link :) I'm not related to this app I'm just a user.
On a project with complex pricing, we use the app Wholesale Pricing Discount by Wholesale Helper we liked because is easy to import multiple pricing by-product and relate it by customer.
this app does not multiply the products, they use customer tags. maybe that can give you some guidance.
An important rule on Shopify is you can't increase the price by API on an order, you can just reduce i

How to add different dimensions in product?

Hello Shopify Developers.
I'm a newbie on Shopify. How can we add a tab in product pages as Dimensions? Through this tab, we should be able to edit and change the dimensions for each specific product.
Would you give me a suggestion to do that? please teach me.
Best regards, Siva.
Shopify is not designed to allow customers to enter custom dimensions and have that affect the final price of the item.
However, this can be accomplished in principle through some roundabout steps, which involve a hidden priced product and a fair bit of javascript and the use of line-item properties to link everything together.
If you're feeling ambitious and want to make such a system yourself, the basic flow would be:
Create a product that either has a $0.01 value (or whatever the lowest denomination is in your currency) or a value of whatever the cost-per-smallest-unit that you want to sell by
Update your store templates so that any products that are marked as a component product (via tags, metafields, product type, or whatever you choose to go with) do not get displayed on collection pages, search results, etc.
For your product pages that need custom dimensions, you will need to create any relevant input fields and add whatever formulas you need to convert user inputs into units of your component product
When the item is added to cart, you will need custom javascript to add the correct quantity of the component item at the same time that the main/visible item is added to the cart. At this step, I would recommend adding line-item properties to both items that would identify that they belong together.
You will need to update your cart to hide the component product and add its price to the main/visible item for display purposes, and the quantity-update and item-remove features in your cart to make sure that when the main/visible product is updated or removed the component product is updated appropriately as well.
This can be quite the undertaking to try to take on yourself, so if any of the above steps seem daunting I would strongly recommend looking for an app in Shopify's app store that can do these steps for you. There are a lot of product option/customization apps available, and many of them have free trials that you can take advantage of to see if they meet your needs.
Of course, if you have the skills and ambition to take this project on, great! The above flow should hopefully get you started, and if you need further advice on any specific step feel free to ask another question.

Bigcommerce change price dynamically depending on customizations

On Bigcommerce, Is it possible to change the price dynamically depending on what customizations the user chooses? Is it also possible to let the user select a "package" of customizations.
For example if a customer chooses the "gold" package of a product, which is a very specific combination of customizations of the product, is it possible to apply it without defining that specific product variation in the backoffice, and change the price accordingly?
please let me know if I'm misunderstanding your question. But I believe product variants are what you're needing to set up here. In your control panel, you can add variations (for example 'tiers') of your product with different pricing levels. These will be nested under the product. You can set up inventory tracking in the control panel as well. Inventory tracking can be placed on the product or variant level.
You can create a single product variant here: https://developer.bigcommerce.com/api-reference/store-management/catalog/product-variant-options/createoption
If you need to make more than one variant on a product, you can use this endpoint instead: https://developer.bigcommerce.com/api-reference/store-management/catalog/products/createproduct
On the other hand, if you're not wanting to do this with variants rather with product customizations -- you can still set the price, but you'd have to set rules for this instead.

Is there a recommended way of selling a 3-pack of a product for a discounted rate?

I have a product on a Shopify website that is normally $20 but when buying a pack of three it becomes $45 total (ie: $15 each). The three pack has a separate SKU, but I would love it if my customers could simply have buttons on the product page to switch between the variations. The pack of three should have color selection options, but it should be clear to the user that all the products in the pack will be the same color. If you have any advice, I would greatly appreciate it.
There are a few approaches, but since you haven't provided a code example of what have you tried I will only list them.
App
You can use a discount APP
Different product
You can use a different product that will handle the bundle price
Shopify Scripts
If you are on a Shopify Plus store you have the option of writing custom Ruby scripts that can modify the cart items and their price. You can write a script that will modify the item price based on properties that are tied to the bundle product.
It sounds like you just need to add another variant option. Just call it as Pack of 3 and set to this variant a different SKU and a price of $45. Based on your question description this will totally suit your case.

What`s the best practice for Magento to update stock from code

I have to integrate my webshop with an external system. This system provides several functionalities, described in their API. This is what I want to do:
Import/sync products (this is available as CSV via request)
Update stock of products (also available as webrequest)
So I have to hook into the Magento stock check and I want some script which updates the products like everyday.
Where should I implement my changes? What is the best way to do this? I can imagine Magento already have some API stock functionalities, but can`t seem to find the right documentation.
Thanks in advance!
Firstly you could use the Magento web service via either SOAP and XML-RPC:
http://www.magentocommerce.com/api/soap/introduction.html#Introduction-SOAP
There's an API for updating stock levels:
http://www.magentocommerce.com/api/soap/catalogInventory/cataloginventory_stock_item.update.html
However, this is usually quite slow and can take some time to update large collections of products, in which case you are better going for a solution which uses the Magento object model directly, or something custom.
Depending upon your level of development expertise there's a few options available. One library to checkout is Magmi:
http://sourceforge.net/apps/mediawiki/magmi/index.php?title=Magmi_Wiki
this is useful for updating lots of product data / stock levels quite quickly.
If you do no require an automated solution, you could always use the standard Magento import/export profiles to import stock levels from a CSV file, a quick search for 'Magento Import Export Profiles' should give you a good starting place:
http://www.seenbest-web-design.com/techclub/importing-a-csv-of-products-to-magento/
http://www.woolleydesign.net/2011/02/updating-store-inventory-in-magento/
I am fully functionally using Magmi now. I have written a plugin to automatically create configurable products, so if anyone is ever interested let me know.
There is already a plugin to process configurable products, my plugin is dependent on that plugin.
Basically, you will only be able to create configurable products if you especially have added this to your CSV, with a column named 'type'. In the column type you can set simple or configurable. With my module that won`t be nessecary. By some logic I automatically recognize the simple products and create a new configurable containing those products.
A little explanation on why I need this:
The stock system of our client updates a list of product (CSV) every few hours, containing entries of products. They sell clothing, and every size, and every color is a new entry. So one product can have 10 entries, entry 1: t-shirt green, size 12; entry 2: t-shirt green, size 13, etc.
I explain this, just in case anybody would ever need something like this, my plugin will probably help you. It will although need a few modification for your situation, since this is very specific to how your list of products is composed.
Anyway, thanks for your help!