Currently Im working on a magento project and it have a plugin developed by another team. This project have merchant logins also. But the issue I am facing now is. When I add a product from merchant panel, it is not getting displayed in his product list. It is shown in admin product list. I want to track down what userid is entering corresponding to that record inserting from merchant login.
In which table I have look? After searching a lot I believe they are not storing any userid corresponding to each product. But I am not sure about that. How can I confirm that?
Please help me
Thanks in advance
There is no such functionality in magento admin, as far as I know. But you can write your own module to controller_action_predispatch or to core_abstract_model_save_after(or something like this) events. And you will be able to see who did what.
UPDATE 1
If I am right, meaning this is not implemented, then you should your own custom logging module.
Module should use Observer functionality. If you want particullarly catch the product save, then you should catch the events of product saving.
here.
To compare product data you can see an example here.
Well to get current user you can read this example.
Moreover in case it is not enough, you may watch here, something might be interestring for you.
Related
I am creating a complex shopping configurator app that allows a user to customize and visualize a product which consists of multiple store items. Once they confirm their purchase, I iterate and add all of the selected products to a guest cart using the .../rest/V1/guest-carts API endpoint.
I would now like to forward the user to the store checkout to continue the purchasing process from the web store, e.g. https://store.url/checkout/cart. Of course, that basket needs to be populated with the items that were added via the API. I've looked through the documentation but not been able to find
anything relevant but I wonder if I can pass over the store_id or the quote_id and the relevant products be inserted accordingly?
Not sure if this is still relevant for you but, I was also working on a similar problem and came across this plugin for Magento 2. Basically what this plugin does is use a customer's token and a quote_id and creates a temporary session on the Magento2 Store and then redirect the user to the checkout page. This was a starting point for me, as I had to customize this plugin further to suit my requirements.
Hope this helps.
I'm going to be starting a E-Commerce project and the client is interested in using Magento. In this project, when a customer adds something to the cart, I'll need to pull them out of the flow, where they'll proceed through a custom wizard-esque area.
They basically design a document using a drag and drop interface. After they finish, that document will be saved as a PDF, and I want them redirected to checkout
So my questions are
Does Magento have hooks available for after an item is added to the
cart ?
If I pull them away to this other section of the site (Wizard
portion), changes they make will potentially add costs to
their cart. Would I still have access to products, prices, and the
cart so that I can continue to modify their cart until they return
to checkout ?
Magento users Event-Observer pattern, where you can hook into virtually any action which is performed and execute your custom code,
Refer to below links,
http://inchoo.net/category/ecommerce/magento/events-observers/
https://gist.github.com/peterjaap/6973324
http://huztechbuzz.wordpress.com/2014/04/26/complete-list-of-all-events-in-magento/
http://www.nicksays.co.uk/magento-events-cheat-sheet-1-7/
So you have to figure out which event you can use and plugin your custom code.
As long as i remember all the cart info ( products/prices ) is stored in the $_SESSION. So you can get all the information from there you need, modify it via your so-called wizzard and udpate the session information after that!
Cheers! :)
I'm having e-commerce store built in magento. As by marketing point of view we planned to create a landing page which contains all registration fields and we'll run a separate adcampaign only for that to collect user's info.
I don't have any idea to do this.
Please give me a suggestion to make it possible.
Thanks in advance.
Not exactly what you asked for but If you need to get users to login/register on your site right away when they visit, you could use this lovely extension.
http://www.magentocommerce.com/magento-connect/catalog/product/view/id/12921/
I have magento demo shop and for example i want registered user to be available to post a product from frontend? Can anyone hook me up with some code showing how to make it? Is it even possible in magento?
It's certainly possible. It actually shouldn't be all that difficult. You're going to create a module, programmatically create an order, and link this page from somewhere. You should be able to hack one together with the following resources:
Programmatically Creating Orders - Inchoo
Creating a Custom Module part 1-8
yes dear it is possible, you have to create a module for that and i think you give to link/tab in customer account page in front side.in account page you provide form of add new product.you have also provide all option like in magento back end. but some customization are required
I have an email that is being generated from within magento that shows what a customer has bought. (Based on New Order Template).
Is it possible to make the item listed a link so it can be clicked and directly go to the item on my website. It sounds so simple, but can't find any info how to do this within magento.
Hope someone can help.
In design, you have an email folder. Just override email/order/items/order/default.phtml and email/order/items.phtml if you want a new column. Good luck ! :) If you want more details, ask me and I`ll help you .