e-commerce

Getting product details using Amazon API

时光总嘲笑我的痴心妄想 提交于 2019-12-06 07:45:35
问题 I've got the following code to output a list of items from amazon, but I not sure how to access specific products (with Summery, reviews, etc). Any help would be appreciated. <?php function makeAWSUrl($parameters, $associate_tag, $access_key, $secret_key, $aws_version = '2009-06-01') { $host = 'ecs.amazonaws.com'; $path = '/onca/xml'; $query = array( 'Service' => 'AWSECommerceService', 'AWSAccessKeyId' => $access_key, 'AssociateTag' => $associate_tag, 'Timestamp' => gmdate('Y-m-d\TH:i:s\Z'),

Etsy-like marketplace with Activemerchant? (Rails)

a 夏天 提交于 2019-12-06 07:40:56
I am in the early stages of integrating a vendor marketplace (similar to Etsy, but for a very niche demographic) into an online community. I envision a platform that allows vendors to sign up and post goods for sale, with all transactions handled through the platform. Payments would be made from the consumers directly to the Paypal accounts of the vendors. A processing fee would be incurred for each transaction, with the sum of all fees billed to the vendors at the end of each 30 day period. I have briefly looked into Activemerchant, though I feel as though it may be the right tool for the job

Extending the Spree::Product model/class

心不动则不痛 提交于 2019-12-06 04:36:01
问题 I'm using Spree in a Rails 3.2 app of mine and I want to extend Spree's Product class to better suit my needs as for example to establish a relationship with another model in my app. What's the best way to do this? I could not find anything about it in the project documentation And what if I want to add new attributes/fields to the Product resource? I can't find it's migration either :/ Thanks in advance :) 回答1: The best thing to do here is to create a product_decorator.rb in your app. This

Magento editor automatic line break issue while adding new product

情到浓时终转凉″ 提交于 2019-12-06 03:59:28
I'm adding a new product in Magento CE 1.7.0.2. I entered the HTML code in Short Description attribute. MY PROBLEM: I really don't know where these extra <br> coming from. Even the WYSIWYG editor is not showing these <br> but they are appearing on the website's product page. Please help. WHAT I ENTERED: <p>Product Description:</p> <table border="1" cellspacing="0" cellpadding="5px"> <tr> <td>Category</td> <td>Specials</td> </tr> <tr> <td>Texure</td> <td>Digitally Printed on High Quality Matte Paper</td> </tr> </table> WHAT IT IS DISPLAYING: <p>Product Description:</p> <br> <br> <br> <br> <br>

Is there a Cart/Catalog app out there that isnt a full site?

人走茶凉 提交于 2019-12-06 02:34:23
问题 Every solution i come across seems to be a complete store with far too many options and too much functionality. I can write my own cart to get the minimal functionality i need out of the frontend, im just trying to cut out the time writing a complex backend. What im really looking for is something that offers the backend functionality for a product catalog, order management, etc. while providing a smooth and consistent API to access the data for my completely custom frontend application. The

Currency Conversion for E-commerce site - Preventing incorrect Total Cart due to rounding

不羁岁月 提交于 2019-12-06 01:30:29
I'm adding multi-currency support to an e-commerce application. The way I approached the problem was to keep the application in it's base currency and have the template call a priceDisplay() function/plugin anytime it displays a price. So the template continues to receive prices in dollar amounts. The priceDisplay function correctly converts the price if needed and adds the correct $ or Euro sign depending on the viewers settings, stored in the session. On order submit, the application will store the order in dollar amount as well as the currencyCode and currencyRate. Additionally we will

Process raw HTTP request content

萝らか妹 提交于 2019-12-06 00:29:12
问题 I am doing an e-commerce solution in ASP.NET which uses PayPal's Website Payments Standard service. Together with that I use a service they offer (Payment Data Transfer) that sends you back order information after a user has completed a payment. The final thing I need to do is to parse the POST request from them and persist the info in it. The HTTP request's content is in this form : SUCCESS first_name=Jane+Doe last_name=Smith payment_status=Completed payer_email=janedoesmith%40hotmail.com

PP REST API charge tax and shipping without sending address?

落花浮王杯 提交于 2019-12-05 18:19:49
Using the REST API, how can I charge tax or shipping if I send the user to PayPal to collect shipping information (and pay, of course)? Doing some research it almost seems like that isn't possible, but I can't imagine that being the case. If I have to collect shipping information myself, the value prop for using PP is greatly reduced. With the REST API, just like the Classic API, a PayPal payment is executed in three steps: 1) Send initial information to PayPal to get a token. Redirect customer to PayPal. Customer authorizes payment. 2) Get payment details (like the shipping address) 3)

Implementing Suggestions 'xxx in Category' using elasticsearch

限于喜欢 提交于 2019-12-05 16:16:56
I want to implement amazon-like 'in-category' suggestions for products. Amazon proposes to search for a given term in a specific category instead of a global search. This allows for a more specific search and results. Is there a way how to implement this using one of the suggestion functions provided by elasticsearch? Currently my idea is to get the suggestions from elasticsearch and group them by category as a post processing. Is there something built in, returning the ready 'in-category' results? If you know categories in advance, you could pass them as payload using completion suggester . I

using magento apis for ecommerce website

随声附和 提交于 2019-12-05 16:02:59
I am a beginner in magento and am working on creating a website using magento. I have noticed that magento has a good number of apis that expose all of the functionality that I would need to create an ecommerce website. So, I would like to use magento's apis to fetch data, but develop the UI separately without any dependencies on magento. I have found a lot of references that develop the website via magento theming, but not those where the UI is developed in a separate MVC and uses magento purely as service layer. Are there any problems/issues in my approach? Edit: I have gained a lot of