configurable

Magento: After ordering configurable product, its canceled because its out of stock

混江龙づ霸主 提交于 2020-01-02 17:11:58
问题 my problem is: i have a product with simple products as childs. (maybe tshirts whith size S-XL and some colors) Now if i order one of this, it is canceled with the order-confirmation email. I think its a problem with the stock but i dont know. There are 99 items in stock of every kind and all are activated and ready to deliver. Anybody who has had the same problem? 回答1: Here the Solution: The problem was crossing ids in the order tables so magento mixed up all items. Solved this with

Magento changing the dropdown configurable product options for divs

余生颓废 提交于 2019-12-23 10:17:38
问题 I need to show the options of a configurable product as divs with an "a" inside that let the user perform a click in the option and select it, instead of a dropdown list. Like a menu (the goal is to show shoe sizes). As many of you know, Magento uses a Json response to fill the options of the dropdown menu. (var spConfig = new Product.Config(getJsonConfig() ?>) and the class is located in js/varien/product.js (Product.Config = Class.create() ). Then, what I did was to edit the file template

Change the text “Choose an option…” on Magento product page

爱⌒轻易说出口 提交于 2019-12-21 03:45:11
问题 I created a configurable product, it has three option: color , size and style . Now in product page, each option has the default text " Choose an Option... " in dropdown, but I want the text should be " Select color ", " Select size " and " Select style ". I edited function getJsonConfig() in app\code\core\Mage\Catalog\Block\View\Type\Configurable.php From: 'chooseText' => Mage::helper('catalog')->__('Choose an Option...'), To: 'chooseText' => ('Select ').$attribute->getLabel(), And edit line

Magento BestSeller Module - Summing Configurable Products And Adding Them Back In

纵饮孤独 提交于 2019-12-21 02:53:16
问题 This has been bugging me for quite a while. Basically, what we are trying to achieve is in the bestsellers on our front page, to have the products listed in the amount sold. For simple products this works fine, however for configurable products they will be displayed as a quantity ordered of 0. I somehow need to find a way to get the configurable products, find the simple products attached to them, sum the amount sold of these simple products, add this back to the configurable products ID and

Replace Price Difference with Actual Price in Magento Configurable Product Options

有些话、适合烂在心里 提交于 2019-12-20 17:36:34
问题 I have a configurable product with 3 options, see below: I want to replace the +£24.00 and the +£75.00 with the actual prices of the products. So instead it would say: £69.00 and £120.00 I have located the code being in js/varien/product.js I've spent a bit of time chopping and changing the code, but can't quite decipher what needs to change. Line 240 downwards in this file handles the JavaScript events for configurable products. I'd appreciate any help here. 回答1: This is performed by

In Office Apps for Excel 2013 - Cannot redefine non-configurable property 'context'"

一笑奈何 提交于 2019-12-14 04:21:39
问题 I have made an app in Office Apps for Excel 2013. It works fine, but at start up it gives a javascript exception. "Cannot redefine non-configurable property 'context'". After clicking 'continue' on that exception everything works just fine. This application uses its inbuilt App.js and Office.js. Is there any solution for this? Or is there something i can remove in my code so that it always hits at start up. 回答1: I had similar issue and was able to solve it by removing second Office.js script.

Configurable product options not showing the options on Frontend

浪尽此生 提交于 2019-12-11 12:57:49
问题 I am having problems with the configurable products not showing the options on the frontend. If I use the default theme that came with magento (rwd), all the options are there and working great. But if I select my custom theme, the dropdown options shows nothing but the default "choose an option..." I have tried most of the troubleshooting but still the problem persist. Console errors. By the way, my custom theme is based on rwd built-in theme in magento. I only modified most of the styles

get simple product with his options from configurable product magento

泄露秘密 提交于 2019-12-10 16:34:10
问题 How can I get a simple products (child of configurable Parent ) options (like: color = red ) if I know the simple products ID and also the parent Products ID? I am new to Magento and I really need some advice. 回答1: // load configurable product $product = Mage::getModel('catalog/product')->load($productId); // get simple produts' ids $childIds = Mage::getModel('catalog/product_type_configurable')->getChildrenIds($product->getId()); // get simple products $childProducts = Mage::getModel(

Compile Time Weaving Null Pointer Exception

ⅰ亾dé卋堺 提交于 2019-12-08 10:28:20
问题 Edit 7: The problem seems to be how to get @Configurable working with HttpSessionListener , a workaround is suggested, but I'dd prefer not to to interact with the WebApplicationContext directly: @Configurable(autowire = Autowire.BY_TYPE, preConstruction = true) public class SessionListener implements HttpSessionListener { private static final Logger log; @Autowired private A a; @Override public void sessionCreated(HttpSessionEvent se) { a.doSomething(); // <- Throws NPE log.info("New session

Strange behaviour of @Configuration with @Configurable in Spring

喜你入骨 提交于 2019-12-06 15:59:02
问题 I've been using XML based configuration for a while - we've got a Vaadin application with Spring used as DI, but we are not interested in DispacherServlet - only root context, which we use to inject global (not user owned dependencies). The way it works I've defined root-context.xml file with content: <context:annotation-config /> <context:spring-configured /> <context:load-time-weaver /> <context:component-scan base-package="com.example" /> And my web.xml has in it: <context-param> <param