e-commerce

How do you do simple stuff in Magento?

那年仲夏 提交于 2019-12-12 01:33:09
问题 So I've been following tutorials from http://www.webspeaks.in/2010/07/create-your-first-magento-module.html?showComment=1331751126549#c2304517526193268399 and How to create a simple 'Hello World' module in Magento? I have some basic understanding but what I'm really trying to do is just make a text area box that can store information to the database. One is a comment box for the payment information and another is a notes area regarding clients. Any links or tutorials will help, thank you! 回答1

How to show product variation in detail page in ASP.NET

a 夏天 提交于 2019-12-12 00:44:36
问题 I am totally stuck in product variation in my upcoming e-commerce website. Like I have multiple variations for single product. For example Product is available in different Color and Size Variation but this is not fixed that variation is only available in Color and Size it may be more or less. If you have any solution for this problem then please give me some hint.I am developing website in ASP.NET and I want to make my own e-commerce application so I'm not using any CMS. 回答1: Usually this is

Website Login Error

心已入冬 提交于 2019-12-11 19:19:40
问题 I created a website login system but when I run it it keeps coming up with this error to the particular bit of coding below. Error: An exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll but was not handled in user code Additional information: Incorrect syntax near the keyword 'user'." Code: public static User LoginUser(string login, string password) { //Check if user exists string query = string.Format("SELECT COUNT(*) FROM TeesDB.dbo.user WHERE name = '{0}'",

How to connect Magento REST Api with Android Application?

折月煮酒 提交于 2019-12-11 12:13:24
问题 I have a e-commerce website which uses Magento. How can I use the REST API on Magento to connect to my Android Application? 回答1: Complete sample for calling restful webservice RestFulWebservice.java this activity class public class RestFulWebservice extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.rest_ful_webservice); final Button GetServerData = (Button

Magento 2 Add a custom input field on chackout forrm and save it

岁酱吖の 提交于 2019-12-11 12:08:14
问题 I am actually working on customization of the checkout form. I need to add a custom input field such as Fiscal Code inside the form. Via Plugin I added the field, but after Placing Order the reference to this field disappear, how i can save and display it in Sales Order? This is the code i used Module.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Lutech_CheckoutAdditionalField" setup

Fatal error: Call to a member function toOptionArray()

谁都会走 提交于 2019-12-11 09:52:59
问题 When I got to System >> COnfiguration >> Google API from my magento dashboard I get following error. Fatal error: Call to a member function toOptionArray() on a non-object in /home/dev/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php on line 421 In Form.php on line 421 there is following code. } else { $optionArray = $sourceModel->toOptionArray($fieldType == 'multiselect'); } Thanks 回答1: To solve the above error. Please open the above path file. if ($e->source_model) {

Getting status on canceled/expired credit cards for recurring billing with authorize.net

余生长醉 提交于 2019-12-11 09:33:49
问题 We're setting up a system that will use the XML API for Automated Recurring Billing with Authorize.net. It looks simple enough to set up a recurring billing. But we have two features that do not seem obvious * providing customers with details on individual payments * providing notification to customers of expired/canceled cards Anyone familiar with a mechanism to retrieve this info in automated form? We're considering * just listing out assumed payments based on our own calculations the start

Magento Connect Manager cannot get package

孤者浪人 提交于 2019-12-11 09:08:33
问题 I tried to install this extension onto my magento store: http://www.magentocommerce.com/magento-connect/facebookfreebelvg-4448.html The console said it installed fine, but it's nowhere to be found in the admin panel or anywhere in the directories as far as I can tell. I have dug through all the usual spots for XML and module files to be. Now whenever I go to Magento Connect Manager it says under Manage Installed Extensions : Cannot get package: 'facebookfreebelvg' and doesn't show any of my

Spree - Adding multiple variants to cart on the same page

纵饮孤独 提交于 2019-12-11 08:12:50
问题 I'm using Spree for a ecommerece site, each product that will be sold comes in a large number of colors and most customers will want to purchase different colors of the same product (e.g. variants). I want customers to be allowed to add multiple variants of the same product on the same page, I currently have a list of variants with a radio button that allows a choice of variant and quantity to be purchased. Instead I just want a number of quantity boxes that default to zero so the customer

(13) The merchant login ID or password is invalid or the account is inactive.(usig Aim method for authorize.net)

为君一笑 提交于 2019-12-11 08:08:52
问题 So when i am defining action as payment.php all working fine but as soon as i define action post_url its giving me this error. So please assist me. all the log in credential for test account is ok and checked. here is my check out.php form action <?php include_once('payment.php'); ?> <form method="post" action='<?php echo $post_url; ?>'> here is my payment.php file contain all the information about url and key values <?php //log in credentials and key values $LOGINKEY = '24Xd2WdY';// x_login