e-commerce

Online payments for a middleman

妖精的绣舞 提交于 2019-12-17 20:07:37
问题 I'm new to online payments and would like some opinions on my task. Here is the scenario: I have a website where people buy and sell digital photos. A seller has a photo and wants to sell it. They create an ad on the site and upload the photo into the website database. Buyers looking for photos come to the site and buy them. The buyer pays the asking amount and then can download the photo. As the middleman, I'd like to charge the seller a fee or percentage of the selling price. The buyer

Designing a SQL schema for a combination of many-to-many relationship (variations of products)

☆樱花仙子☆ 提交于 2019-12-17 17:33:10
问题 I hope the title is somewhat helpful. I'm using MySQL as my database I am building a database of products and am not sure how to handle storing prices/SKU of variations of a product. A product may have unlimited variations, and each variation combination has its own price/SKU/etc.. This is how I have my products/variations table set up at the moment: PRODUCTS +--------------------------+ | id | name | description | +----+------+--------------+ | 1 | rug | a cool rug | | 2 | cup | a coffee cup

PHP Mail() Contact-us form works fine if entering a Gmail sending address, but not with Yahoo [duplicate]

南笙酒味 提交于 2019-12-14 03:33:38
问题 This question already has an answer here : Reconfiguring PHP Mail() Smarty Contact Form (1 answer) Closed 5 years ago . I've setup an ecommerce site using Prestashop and when testing their contact form, I found that I was not receiving any messages if user enters Yahoo email address as the senders address. I have no problems, however, if the user enters a Gmail address. Prestashop is set up currently to use the PHP Mail() function for the contact form. What could be the problem and what

Access Roles in DNN Hotcakes Checkout Views

巧了我就是萌 提交于 2019-12-13 19:09:05
问题 I'd like to be able to show/hide certain payment methods based on user roles. In Hotcakes under the "_DisplayPaymentMethods" view set I see a switch statement with "payMethod.MethodId" as the expression. Inside each case I'd like to set an if statement that checks if the current user has "x" role. How can I access the user roles from this view set? 回答1: You'll find the answer in the Hotcakes Commerce documentation area. I've included it here for posterity on SO as well. Security roles are

how to design a custom product builder

跟風遠走 提交于 2019-12-13 17:25:04
问题 I am developing an application for generating estimates on products such as cars. So, when a car make an model is selected, I need to present various options to the user (options may be in different groups like Wheels, Seating Upholstery, Trunk Accessories) Depending upon the group, the customer may pick one or more options in that group; if a certain option is selected - some other options may get disabled; not all options apply to every make an model So, there are several rules to be

Disable add to cart redirection

早过忘川 提交于 2019-12-13 16:41:21
问题 Now, hitting the "add to chart" button on the archive page will add product to cart, but will also redirect custommer to the page of certain product, and I am trying to disable any redirection after hitting "add to cart" button. I want custommer to stays at the same page where he has been before hitting the button, or just to "refresh" page after adding to cart. Any suggestions? /** * Redirect subscription add to cart to checkout page * * @param none */ function add_to_cart_checkout_redirect(

Unable to create Multiple shop with different templates in opencart

醉酒当歌 提交于 2019-12-13 05:58:28
问题 Firstly, thanks to all in advance for helping me, I am Using opencart 1.5.3.1.And i Created multiple shop but i need multiple shops with different templates and layout.I try to change templates of each and every shop but unable to change.If i change theme of default templates of main shop then themes of all shop is changed.if i change the theme of other shop then there is no change...how can i solve this problem.Plz help me. There is another problem is link of the shop.Link of all shops goes

Rails 3 SSL on Heroku

痞子三分冷 提交于 2019-12-13 05:33:52
问题 I am currently developing am e-commerce app in Rails 3.0.9 and it is hosted on Heroku. Ideally I would like to set 'Hostname based SSL' (http://addons.heroku.com/ssl), but Heroku charges a fee of $20/month which seems a bit steep for me right now. Heroku does offer a free SSL solution by piggybacking off their certificate, however you would have to use their domain (https://yourapp.heroku.com) I was thinking I would direct my payment page to this URL and then redirect the user back to my

Magento, i need define first product image as thumbnail

微笑、不失礼 提交于 2019-12-13 04:45:16
问题 I had imported my old oscommerce site with 15000 produts for magento! But unfortably, the thumbnails are dont defined automatically http://imgur.com/cNdXd i can do maually, but 15000 produts is a larg number and i need sped a big amout of time for do it if anywone can give-me a mysql command to set the first produts image as Base Image, Small Image and Thumbnail will be awesome thanks 回答1: Try update them via api: $proxy = new SoapClient('http://magentohost/api/soap/?wsdl'); $sessionId =

Prestashop custom field in Product Feature not saving on Edit

99封情书 提交于 2019-12-13 04:34:06
问题 I have created a custom field for Product Feature in my module override. Custom field for Feature is not saving in the database on edit. But on Add new feature it works fine. Here is the code for my AdminFeaturesController.php file: <?php class AdminFeaturesController extends AdminFeaturesControllerCore { public function __construct() { $this->table = 'feature'; $this->className = 'Feature'; $this->list_id = 'feature'; $this->identifier = 'id_feature'; $this->lang = true; $this->fields_list =