shopping-cart

Magento: Shopping cart price rule gets applied, but discount not subtracted from subtotal

為{幸葍}努か 提交于 2020-01-14 14:51:07
问题 I have created a shopping cart price rule in my Magento store (version 1.4.1.1), and it seems to get applied without issue on the frontend, but the discount isn't actually reflected in the subtotal or final total. The original item price is $45.00, and the discount should be $35.00, making the final price $10.00. Here are some screenshots of the setup. (Sorry, because I'm a new user it won't let me post images directly in this posting.) http://imgur.com/a/hdYDb Main rule page Actions page

Problems with <form> and Dynamically-generated links

笑着哭i 提交于 2020-01-06 19:52:49
问题 Related directly to this post, I am having trouble implementing some sound advice given from @sean, because as you can see on this page: http://www.onestopfasteners.com.au/checkout.php - I have wrapped the form tags around the table element, but the form just doesn't seem to be working, and nothing ever gets "POST"ed either. I've changed the code around abit to experiment, but haven't found a solution, and no search anywhere has proven to be useful yet. I'd appreciate any help at all. I'm

WooCommerce: Only 1 product in cart. Replace if one is added

别来无恙 提交于 2020-01-06 03:02:46
问题 I am fairly new to WooCommerce so I dont know what could be of use to answer my question, this is why I have not added any codeblocks. I would like to let customers only add one product to the cart and if they add another product the current product in cart is replaced by the last one. Do I need to make changes in the code or is it possible with a plugin or WooCommerce setting? I am looking forward to helpful replies. Thanks 回答1: /** * When an item is added to the cart, remove other products

Zend Framework 2 - Sessions containing multidimensional arrays

Deadly 提交于 2020-01-05 21:07:52
问题 Suppose i have the following set of data: $foobar = array( "foo" => array ( "foo1" => 1, "foo2" => 2, "foo3" => 3 ), "bar" => array ( "bar1" => 1, "bar2" => 2, "bar3" => 3, ), ); In standard PHP, i could do the following: $_SESSION['foobar'] = $foobar; Then, to call values, by example bar2: $_SESSION['foobar']['bar']['bar2']; But what about doing this in Zend Framework 2? I have already set bootstrap with all parameters for session manager, and container has been set with it. Sessions get

Shopping Cart $_SESSION Problem

那年仲夏 提交于 2020-01-04 05:54:17
问题 I am working on a basic shopping cart. However, it appears as though the $_SESSION variable is not properly being stored or accessed. For instance if you travel to here it will display the item name. But on refresh to cart.php without any $_GET variables it returns nothing. What am I doing wrong? <?php include "tickets/config.php"; if (isset ($_GET['action']) && isset($_GET['item'])) { $cart = new Cart($_GET['item']); if ($_GET['action'] == "addItem") { $cart->addItem(); $cart->get_items_code

Remove button for drag and drop shopping cart using jquery

徘徊边缘 提交于 2020-01-03 03:27:04
问题 I am new to jquery.I am presently developing a website as a part of my project.I am able to drag and drop the products in shopping cart but i am unable to add a remove button to it and also altering the total after removing the item from cart. I tried all possible ways and also saw the duplicates but it dint work for me. I there any way to do so.Plz help me. I will be gratefull to u all. http://jsfiddle.net/Vwu37/3/ HEAD <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

Opencart: How to relate product options (like size and color)?

别等时光非礼了梦想. 提交于 2020-01-03 01:52:32
问题 I'm using opencart version 1.5.5.1 for our website. I need to add more than one option for products. For example: I need to show shirts of sizes- Large/Medium/Small and colors White/Black/Blue/Red/Green etc. By default opencart allows us to add separate quantities for each color and size. How can I mention that we've 5 Large Shirts of Blue Color, 3 Medium Shirts of White Color etc. ? Please help. Thanks in Advance! 回答1: I guess this would only be possible if You create an options for size x

Opencart: How to relate product options (like size and color)?

馋奶兔 提交于 2020-01-03 01:52:27
问题 I'm using opencart version 1.5.5.1 for our website. I need to add more than one option for products. For example: I need to show shirts of sizes- Large/Medium/Small and colors White/Black/Blue/Red/Green etc. By default opencart allows us to add separate quantities for each color and size. How can I mention that we've 5 Large Shirts of Blue Color, 3 Medium Shirts of White Color etc. ? Please help. Thanks in Advance! 回答1: I guess this would only be possible if You create an options for size x

best .net solution for ecommerce compared to Magento CE [closed]

青春壹個敷衍的年華 提交于 2020-01-01 02:30:28
问题 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 7 years ago . I am in the need of looking for a .net shopping cart, I am a .net developer not PHP and I need that the shopping cart solution be extendible. In the past I have used Magento, and its probably the best solution out there, but I dont want just to learn another programming language. Is there any as good as magento

PayPal IPN returning a shopping cart or order ID for post-processing

元气小坏坏 提交于 2019-12-25 14:11:54
问题 I have successfully posted my custom shopping cart to PayPal -- it processes the order just beautifully, and when the payment is received, it posts data back to the URL I specified in the config. The code is based on the library found here: http://www.phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/ So I'm successfully verifying the IPN by posting data back to PayPal -- that is all great. Here's my dilemma -- how do I know what order the IPN is