magento-1.9

Auth 1.0 oauth_signature creation Android for magento API

回眸只為那壹抹淺笑 提交于 2019-12-17 07:50:26
问题 I call the Magento API with the following Autherization as header, auth = "OAuth oauth_consumer_key=**********************,oauth_consumer_secret=****************,oauth_token=************,oauth_token_secret=**************,oauth_signature_method=HMAC-SHA1,oauth_timestamp=" + ConstantFunctions.GetTimeStamp() + ",oauth_nonce=" + ConstantFunctions.GetNonce() + ",oauth_signature=*******************) ; While I call the API, Getting error oauth_problem=signature_invalid .All other parameters validate

Email Marketing/Newsletters in Magento [closed]

血红的双手。 提交于 2019-12-13 22:13:19
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I want to implement some email marketing like mailchimp in magento. Is it worth to use mailchimp in magento or is there any other marketing tool like mailchimp which work with magento ? Please give me right direction to choose correct option. thanks 回答1: I've been working with Mailchimp from past 2 years. There

Implement multiple product chooser widget Magento

情到浓时终转凉″ 提交于 2019-12-13 12:29:52
问题 Hi I need to implement a multiple product chooser widget in magento. For this I am using the below code. With this a I can put a multiple sku for the products in the field in admin. But I need to implement a product chooser with a checkboxes so that I can check those and submit. Please check the screenshot here http://www.awesomescreenshot.com/0035hy791a app/code/community/Speroteck/SelectedProductsBlock/etc/config.xml <config> <modules> <Speroteck_SelectedProductsBlock> <version>0.1.0<

Editing customer address based on address id and customer id in magento

半城伤御伤魂 提交于 2019-12-13 07:29:20
问题 can anyone suggest me how can I update customer address based on address id and customer id. I have tried searching it but it is saying that edit address is not possible even I tried also it is not happening. I think it might be possible through sql query, but I dont know what sql query to write. So can someone help me. Really will appreciate. 回答1: Here you go: // change these IDs to match your customer and address $customerId = 136; $addressId = 92; $customer = Mage::getModel('customer

Magento category description

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 07:16:17
问题 I have the following problem. My category description above (before the goods). I wish to change the location of the category description. This should be at the bottom (after the goods). I am using magento commerce 1.9 回答1: You need to find the category template, which should be in your theme directory here; app/design/frontend/XXX/YYY/template/catalog/category/view.phtml Where XXX YYY is the directory of the template you are using. If there is no view.phtml file in there, magento will fall

Cannot login Magento service using C# [Magento 1.9.3.3] Error: Premature end of data in tag html line 7

淺唱寂寞╮ 提交于 2019-12-13 03:26:07
问题 I'm developing a C# Winapp to communicate with the Magento Server. I'm trying to login into Magento service to add customer data but I can't get pass the login sequence. This is my login code in C# PortTypeClient mservice = new PortTypeClient(); string mlogin = mservice.login("user", "password"); And this is my app.config file <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> </configSections> <system.serviceModel> <bindings> <basicHttpBinding> <binding name="BTVBinding"

Magento. How to add simple product in cart programmatically with custom options

喜夏-厌秋 提交于 2019-12-12 17:01:54
问题 I am trying to add my simple product with custom options in cart. $post = $this->getRequest()->getPost(); $_product = Mage::getModel('catalog/product')->load(8); $QuoteId= Mage::getModel('checkout/cart_api')->create('default'); $storeId = Mage::app()->getStore()->getId(); $arrProducts = array( array( "product_id" => 8, "qty" => 1, "options" => array( '1' => array( 'sku' => 'cheese' ) ) ) ); $cart = Mage::getSingleton('checkout/cart'); $cart->addProduct($_product, $arrProducts); $cart->save();

Magento get product images in shoppping cart

限于喜欢 提交于 2019-12-12 04:53:17
问题 I'm trying to get all the product images of all the products in the shopping cart. I've used the following code: $_item = $this->getItem(); $_product = Mage::getModel('catalog/product')->load($_item->getProductId()); foreach ($_product->getMediaGalleryImages() as $image) { echo var_export($image->getUrl()); echo "<br>"; } But this only displays all the images of the first produuct in the shopping cart. I've tried it this way: foreach ($this->getMediaGalleryImages() as $image) { echo var

Magento how to show discounted price with custom option product

烈酒焚心 提交于 2019-12-12 04:28:44
问题 In magento 1.9 have product custom option's price and i want to show discounted price. Suppose product's Color option is Red and its price is $100, I want to show it with discount(20%) price which should be $80. Please let me know in which file i have to write my script. 来源: https://stackoverflow.com/questions/42785762/magento-how-to-show-discounted-price-with-custom-option-product

Magento: Auto-change inventory_stock_availability on quantity update

帅比萌擦擦* 提交于 2019-12-12 02:26:55
问题 In our Magento Shop we're updating our Stock with the extension "Barcode Shipping"(http://www.magentocommerce.com/magento-connect/barcode-shipping.html) or the custom Productgrid from the extension "Enhanced Admin Grids (+ Editor)" (http://www.magentocommerce.com/magento-connect/enhanced-admin-grids-editor.html). If a product is sold and the stock quantity reaches 0, the attribute inventory_stock_availability is set to "Out of Stock". If the stock is updated, we always have to set the