How to show list of shops which buy one product on opencart product page? - opencart

We are selling a product in several shops. On product page, how to show list of shops which sells this product? And when customer clicks on these shops, it displays this shop's product page. This is same as the following site.
http://www.prisjakt.nu/produkt.php?p=3895089
Is there any module? Please help me.

You will have to make some service connection by WSDL, SOAP, API... with other shops because their stock, prices... are always changing. Other shops must have these service connection also and must be willing to give these informations to your shop.
You don't want to administrate these sort of things.

Just use module multimerch marketplace, and for all shops make account. try this way. or use api and parse xml

Related

Preparing data for a form view (django, drf, axios, vuejs)

I'm building a web application with Django, DRF, Axios and Vuejs.
It works but I'm wondering what are best practices for handling such a case.
Considering the form below :
I want to create an Item for which I can assign a Company and a Contact.
The Company is a model in its own as well as the Contact. The Contact field shows only contacts for the selected Company.
How should I query the datas to be the most RESTful possible ?
Query all the companies, query all the contacts, and make a computed property that shows only contacts of the currently selected company ?
Query all the companies, and each time I select a company I query related Contacts only ?
Other solution ?
Both have pros and cons and I wonder what is the best way to handle this kind of situation. Also, if there are standard ways to design this.
Call the GET API for all the 'Companies', then when the user selects a company, call the GET API for the 'Contacts'. That is how its usually done in enterprise applications, for e.g: when you select a country and then a city.
But you have to weigh the pros and cons of each method. Think about the distant future of your application. If you scale/expand, will the number of companies and the related contacts increase? Then it will be efficient to fetch the contacts only when the user selects a company. If not, and you know the maximum number of companies and their subsequent contacts, and you know that the number is small enough to load beforehand, than go with loading everything as soon as the form loads.

How to create a full purchase experience with product advertising api on your website

I want to create a store website using amazon's product advertising api, and as I understand, what you actually get from amazon is the products with a shop now button that is taking you to the amazon website to purchase it, something like this:
but I really wanted to create a full experience in my website, and wanted to know if its possible somehow to mask the purchase and keep the user in my website, does someone know something that can help?

Checking out amazon affiliate product in my website

I have a requirement where users will visit my site and based on some logic able to earn points. The user will then be able to use this point to checkout any item of equivalent amount that is listed in my website.
The items that are to be listed is actually coming from amazon and I am an amazon affiliate so when they make the purchase i end up earning commission.
The challenges that I am facing is amazon always takes the user to their own website for the checkout, and so I am not able to put any restriction on the cost of the item that the user is checking out. The user can very well choose some other item while doing the checkout from within amazon's website.
As per my research amazon doesn't allow checkout from 3rd party websites like mine and will always bring the user to their own website. While I can create a bot using casper.js to emulate an user i dont want to go with this.
Is there any known API or solution to achieve what I am trying ?
I don't think it's possible to have user checkout products on your website. (Why would Amazon ever allow that?)
However, I also don't think that should be important to you. You should redirect customers to Amazon with proper associate tags (www.amazon.com/dp/...?tag=...) in the URL. After that, any purchases that they make, irrespective of whether it was the one you showed on your website, become candidates for payouts to you. So, if you redirected a customer to product A on Amazon and she bought product B, you might be paid out for it, obviously if the purchase satisfied the affiliate policies.

Django: Flexible users for a home appliance services web app

I am doing a small app that requires a different user tool. The thing is this:
I have a repair application. In the company, people can repair their fridge, washing machine and kitchen items (like blender etc). There are different technicians for each (specialized). All customer comes thru one reception but each unit (dept of fridge repair for e.g.) also have a receptionist.
Then there are finance and administration units. So, I was wondering how i would go create a user who is a technician of fridge? When he logs in, i wanna take him to the technician's area so he can see repair related tasks.
And for the finance department, to log in but then go to finance section of the project.
I have created tables for services provided (fridge etc) and the departments (finance). How do I attach the users to each?
I have seen a post that describes adding fields to the user profile but i failed to attach it to my needs.
How do you guys go doing something like this? Thanks!
You can extend the user functionality without replacing the Django dUser model.
When logging in the user, you can then check the role this user has and redirect based on that role

setup payment for django satchmo

this is a newbie satchmo question...so I've implemented satchmo for a django e-shop I am building. I have setup sathcmo following the tutorials, created some products, tested that I can make an order, and then switched to 'real mode', on http://site/settings, clicking on 'accept real payments'. The question is how I can setup the payments to be made on my bank account (a bank in Greece)?
I have not found any reference on this, so please help!
btw, on the checkout page, I get this
You'll need to fill out at least the fields with a *
How do you want to pay?
Payment method*
Payment test module
Gift Certificate
so what does payment test module means? Do I have to install another application? Currently setting.py contains
'payment',
'payment.modules.dummy',
'payment.modules.giftcertificate',
Thanks a lot for any help!
Satchmo has multiple payment methods. I am not sure exactly what payment methods would support interacting with your Greek bank account. Typically people use something like Authorize.net, paypal or google to collect payments.
Once you decide which processor you want to use, then we can help you decide if there's a processor available or if you'll need to build one.