e-commerce

Magento: Adding simple products from a bundle to separate lines in the cart

只谈情不闲聊 提交于 2019-11-30 04:04:58
My client is requesting that each simple product within a bundled product they are selling (Clothing Top and Bottom) be added as a separate line item in the cart whenever a user adds it. Can anyone direct me in how to accomplish this? I am fairly good with MVC and the Zend Framework, but I need a bit of help finding the exact files that control adding bundled products to the cart, or an alternate method for getting these items added separately. Please assume that the only possible product type for this clothing is the Bundled product type. You will need an observer: <checkout_cart_product_add

Magento: how to get the price of a product with catalog rules applied

心已入冬 提交于 2019-11-30 03:16:58
I'm developing a script (external to Magento, not a module) which aims to output a text list of all available products, their prices and some other attributes. However, catalog price rules don't seem to be applied to product prices. If I use any of the following: $_product->getPrice() $_product->getFinalPrice() I get the normal price (without rules being applied). If I use: $_product->getSpecialPrice() I get null unless the product actually has a special price inserted in the product itself (i.e. if special price is not related with catalog rules). I also tried Mage::getModel('catalogrule/rule

Where is the content of <?php echo $this->getChildHtml(’right’) ?>

坚强是说给别人听的谎言 提交于 2019-11-30 03:12:20
问题 I’m trying to re-organise my right sidebar. In the template (2columns-right), it calls : <?php echo $this->getChildHtml('right') ?> Where can I find the content of this variable? 回答1: A call to method getChildHtml() loads the HTML for the child block with the name which is passed to the method, so in this case we are looking for a child block named right . To determine where to find this child block we need to know which block is calling this method. I know that that particular call to the

Does the Luhn algorithm work for all mainstream credit cards? (Discover, Visa, Mastercard, Amex)

别来无恙 提交于 2019-11-30 00:36:25
问题 This question was migrated from Webmasters Stack Exchange because it can be answered on Stack Overflow. Migrated 8 years ago . Reference: Luhn Algorithm The Luhn Algorithm is a great way to quickly verify that the user typed their CC # in correctly. However, I am concerned that there may be a subset of mainstream credit cards that do not use Luhn-Algorithm-friendly numbers. I do have logging in place in our application to detect a pattern in all Luhn-Algorithm-rejections, but I'd rather know

MySQL Shopping Cart Structure

浪子不回头ぞ 提交于 2019-11-29 23:59:40
问题 I am looking to create a MySQL shop that is capable of handling multiple categories. I have all of the category facility etc sorted but the bit I am not getting anywhere with is this.. Each item can have multiple options, for example a T-Shirt should have the options 'Colour' and 'Size'. I then need to create a number of variations/ derived products from the parent product specifying that an Extra Large Blue T-Shirt has 20 in stock (for example). The problem is, it's not just clothes being

shopping cart, possible to use Devise's session functionality?

China☆狼群 提交于 2019-11-29 22:17:26
问题 I am writing an ecommerce website and I need to implement a shopping cart feature. I want the customers to be able to add products to their cart without signing up beforehand, so I figured I would accomplish this through sessions. Can this be done in the Devise gem or will I have to implement my own session model for this to work? 回答1: You'll need to handle your own session data - doesn't mean you'll need a session model though. We've implemented what you're looking for at http://www

Free, Lightweight PHP e-Commerce solution [closed]

给你一囗甜甜゛ 提交于 2019-11-29 21:34:07
问题 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'm searching for a lightweight e-Commerce web-application implemented in PHP5 and using MySQL as storage db. main requirements are: as small as possible Free or Open Source supporting multi-language (best if utf-8 was primarily supported) easy to use (don't need core to be bloated with functionality I won't use

How to add an item to magento breadcrumbs

大兔子大兔子 提交于 2019-11-29 20:57:55
问题 I want to display breadcrumbs while a use navigates my own module on the frontend of magento, the site already has the appropriate breadcrumb code in place thats used elsewhere as per standard magento breadcrumbs. What do I need to do in my module to specify the current breadcrumb path? I'd prefer to be able to do this programmatically rather than having to write something custom in the breadcrumbs phtml file 回答1: you can call breadcrumbs like below in your custom block file in your

How to pay your users? (alternatives to PayPal) [closed]

こ雲淡風輕ζ 提交于 2019-11-29 20:48:16
I would like to know what best non-paypal options are for paying users of your website (for services rendered for instance). How are others doing this at the moment? If you could mention specific services providers that would be most useful. This would have to work internationally, not be limited to one country. Thank you Update (in response to comments) Reason for excluding PayPal: I've had bad experiences with them in the past. Amounts: Well, i don't mean micropayments of a few cents, but could be anything from 40EUR - 500 EUR. Currency: I didn't mention this, but I would be paying in Euros.

Cash On Delivery activated Admin Only ( Not Frontend enabled ) - Magento?

僤鯓⒐⒋嵵緔 提交于 2019-11-29 19:49:01
问题 I am using magento for a time now. I wanted to know is it possible to enable Cash On Delivery option for admin use only. I want to use it as Store Pickup... So this way manual orders can be only created in admin panel for those who want Store Pickup. I dont want this to be shown in Magento Frontend Store. Can you all help me out ??? 回答1: There are a number of ways to achieve this, but they require a familiarity with the Magento ecosystem. I would discourage using CSS to hide it from the end