In my magento 1.5 webshop I've re-created some products because it seemed the easiest way to convert configurable products to simple products.
anyways, now I want to move the reviews to the new products but i cannot find them within the database.
Does anyone know where they are stored so that i can move them to the correct products?
-thank you
The table you're interested in is review. This table holds the relationship between the review itself and the product. The review table has a column named entity_pk_value that references the primary key of the product being reviewed.
Replace the value in the entity_pk_value column with the new product id and all of the reviews should be moved across.
Related
I want to set employees permisions to add and edit only their products (Prestashop 1.6.x). I know Prestashop doesn't save employees info in products table, however, is it possible to make such functionality in a quick way? If I had employee ID in product table I'll be able to limit the permissions just for editing their products. But how can I add employee ID to the product table? Which file should I modify? And how can I add new row to ps_product table?
This is possible theoretically, but very long, because it would override the product class, Image, categories, etc ... modify the Prestashop tables, so all this would make your shop unstable, and difficult to evolve thereafter.
What I would recommend is either spent in multiboutique, with a store per employee. So each employee could modify only his products or use a module like this one https://addons.prestashop.com/en/marketplace-creation/18656-ja-marketplace.html
Regards,
Hope you can help me today. I imported about 85.000 Products from an SQL Source via Magmi. These Products are showing in the backend, they are "active", I updated the index (all of them), deleted the cache, made sure, that the products are in any category, made sure all mandatory fields are filled out, and they have a price. The products are not in Stock, but when I manually add a product thats not in stock, it is shown in the shop. And if i modify an imported product and increase the amount I have in stock, they are still not shown.
The products are all visible in catalog and in search, but I just cant find then clicking on the category in the menu. But if I search for a specific product I can find it.
Got anybody an idea?
Cheers
EDIT: Here I got a picture from Magmi import Process
And i only have one store, and one store view, that has default values
Following things you can check -
Check Visibility of the product.
Check if the product is assigned to a category.
Check if the product is assigned to a store view.
Check if the product is In Stock.
Check if the product has a qty assigned.
I was wondering if anybody has ever tried to mass import custom attributes into a Magento Database before? My client has a Magento store that specialises in selling musical instruments, and wishes to add a Google Shopping Feed (using the extension of that name by Rocket Web) to sell the products on Google Shopping. The problem is that i need both an MPN (Manufacturer Product Number) and a Brand (so for instance Gibson) for the shopping feed to work, both of which are not automatically uploaded by the stores POS system.
The way that the POS system currently works is when a product is added, the title / SKU number / description / price etc are all uploaded to the Magento store, which means the client does not need to add the product twice. The problem is that as MPN and Brand aren't necessarily out of the box attributes, the POS system does not upload either of these to Magento, and therefore I now have 1,000 products without them and they are apparently crucial to the Google Shopping Feed extension.
I'm currently working on getting a table of each of the products SKU, MPN and Brands from the local database of the POS system (of which each of the products has all 3), but once i have it my question is this: is there a simple way for me to reference the products currently in the Magento database (most likely by SKU, as both databases contain the same SKU for each of the items) and apply two custom fields to each of the products: MPN and Brand? I've created custom 'MPN' and 'cat-brand' attributes (which i can use the Google Shopping Feed to map to the custom attributes) and looked inside the Magento database but i cant find them anywhere, but i found a table called 'catalog_product_flat_1', which i imagine is a flat DB used for indexing or something, but it looks perfect for achieving what i want, in that i could easily search for SKU and apply two custom attributes as columns for each product. Something tells me it isn't going to be that easy though.
Any thoughts would be a great help, thanks for your time.
Magento uses an EAV data model, which means your attributes are broken up into multiple tables. Take a look at any tables with 'entity', 'eav', 'attribute', or 'value' in their name if you want an idea of how it all works.
What you're probably looking for is catalog_product_entity_varchar or catalog_product_entity_text. In those tables, entity_id is your product ID number (different from SKU, but you can link a product_id to a SKU) and attribute_id corresponds to the eav_attribute table.
In short, what you want to do is look at your eav_attribute table, pull the entity_type_id, attribute_id fields for your MPN and cat-brand attributes you made, and then you can insert your data into catalog_product_entity_varchar. (or _text if your attributes use that instead)
I am working with joomla 2.5 and virtuemart 2.0. When I tried to add related products it searched and showed many products but clicking on it doesn't saved any products as related. I checked table
#__virtuemart_product_relations
but it doesn't have any record, however I added some rows to it with product ids but still it didn't worked!
I solved it myself exploring all joomla virtuemart tables. I'm posting answer here may be it can help others. Actually the table to store related products is
#__virtuemart_product_customfields.
If you are not able to add related products from joomla administrator then insert rows to this table. You need to add only 3 fields i.e
1.virtuemart_product_id (enter here id of the product related for)
2.virtuemart_custom_id (enter here 1)
3.custom_value (product id of the related product).
I have made a custom shopping cart in prestashop, I now need to increase the number of items bought in my shop manually. I guess this can be done by modifying the database. I tried changing the ps_product_sale table, but to no use. Can anyone suggest as to how to do it.
Thanks.
You can do it by making changes in the ps_order_detail table. In that table, PS stores all information for an ordered product like product id, name, product purchased quantities etc etc.
There is a column named product_quantity, change it and it will change the number of products bought.