shopping-cart

Changing order of shopping cart totals in Magento

时光怂恿深爱的人放手 提交于 2019-12-01 18:13:40
I am having a requirement that I have to change the order of totals in a shopping cart in Magento. My requirement is shipping charge should display before Tax. Currently it is displaying as Subtotal-Tax-shipping charge-Grand Total and I need as Subtotal-shipping charge-Tax-Grand total. Can anyone help me from where I can edit this. Rohit S You can configure it in the Magento backend itself. Go to System->Configuration->Sales->Checkout Total Sort Order .Set the sorting order as you wish. No need to change any code. Just configure it from admin panel: Go to System->Configuration->Sales->Checkout

Changing order of shopping cart totals in Magento

喜欢而已 提交于 2019-12-01 17:18:26
问题 I am having a requirement that I have to change the order of totals in a shopping cart in Magento. My requirement is shipping charge should display before Tax. Currently it is displaying as Subtotal-Tax-shipping charge-Grand Total and I need as Subtotal-shipping charge-Tax-Grand total. Can anyone help me from where I can edit this. 回答1: You can configure it in the Magento backend itself. Go to System->Configuration->Sales->Checkout Total Sort Order .Set the sorting order as you wish. 回答2: No

Shopping Cart Framework

℡╲_俬逩灬. 提交于 2019-12-01 13:21:44
问题 I am tasked to build a shopping cart that sells book. I would like to seek help in putting me in the right direction as to where to go from here. As of what I see, I can do the cart in two ways: Use CI framework and build the site from scratch. Use an existing shopping cart system and build from there. The problem with doing the CI is its very tedious. You are basically building from scratch. So this will take time and add to the fact that this is my first time building a shopping cart. The

OpenCart: Where is the div for the drop down header cart info?

瘦欲@ 提交于 2019-11-30 17:47:11
I am trying to style OpenCart but am having difficulty finding which TPL file holds the div that appears when you click the Shopping Cart icon in the header (the 'mini cart' that slides down - it allows you to view what's in your cart without going to the cart page). Does anyone know where I can find the .tpl file that has this div (in the default structure template)? Thanks Why did people downvote you? The #content DIV sits within the #cart DIV - you should have searched this. Open /catalog/view/theme/default/template/common/header.tpl The cart header is in the echo <?php echo $cart; ?> To

Purchase physical product from iPhone app without Apple in app purchase

无人久伴 提交于 2019-11-30 05:30:44
Can an iPhone app allow a user to purchase a physical product (say a pen or a mouse) from inside an app, without using Apple in app purchase? Is it allowed by Apple? If yes, do you know any API that supports this? Thanks AJ You are not permitted to sell physical goods or services using 'In-App Purchasing' since the goods purchased via this method must relate directly to the app using them. You are free to implement your own payment handling system for selling physical goods though - for instace the PayPal API If you already have a website for this purpose you could even forward them to that to

Is it safe to use CodeIgniter shopping cart?

孤街浪徒 提交于 2019-11-30 03:51:50
问题 According to CodeIgniter documentation their Shopping Cart Class "is DEPRECATED and should not be used". Is there any harm in going ahead and using it? It is a very close match to what I need and I cannot see a similar library anywhere else. 回答1: using codeigniter cart class is fine as long as the session class is secure, but ci 2.x session is not secure since it saves its data in a cookie "ci_session" so the end user can modify session data (including cart data) to overcome this

OpenCart: Where is the div for the drop down header cart info?

烈酒焚心 提交于 2019-11-30 02:40:07
问题 I am trying to style OpenCart but am having difficulty finding which TPL file holds the div that appears when you click the Shopping Cart icon in the header (the 'mini cart' that slides down - it allows you to view what's in your cart without going to the cart page). Does anyone know where I can find the .tpl file that has this div (in the default structure template)? Thanks 回答1: Why did people downvote you? The #content DIV sits within the #cart DIV - you should have searched this. Open

Using acts_as_shopping_cart how do I implement basic quantity editing?

纵饮孤独 提交于 2019-11-29 18:09:21
The acts_as_shopping_cart gem requires two models - Shopping Cart and Shopping Cart Item . The attributes it allows you to access like this for the item: <td><%= shopping_cart_item.item.name %></td> <td><%= shopping_cart_item.item.price %></td> <td><%= shopping_cart_item.quantity %></td> But I want to allow users to change the quantity - from say a drop-down menu (so a select tag from a collection). But I am not quite sure how to approach that. I would also like to add other attributes to my item - like a size of an item, color, etc. I would like my store owner to be able to specify those

Builing a cart with multiple items and the PayPal button in PHP

…衆ロ難τιáo~ 提交于 2019-11-29 05:04:59
I'm building a shopping cart in PHP and want to allow customers to enter the quantity for each item and then press a button which brings you to PayPal and lists how many products you have. On PayPal's website, all the info I found seems to lead to me needing a shopping cart. If this is absolutely necessary, how could I implement that? shady I just had to do this. I use this form in my HTML: <form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="payPalForm" onsubmit="if (verify()) { get_items(); return true; } else return false;"> <input type="hidden" name="cmd" value="_cart" />

Purchase physical product from iPhone app without Apple in app purchase

此生再无相见时 提交于 2019-11-29 03:12:02
问题 Can an iPhone app allow a user to purchase a physical product (say a pen or a mouse) from inside an app, without using Apple in app purchase? Is it allowed by Apple? If yes, do you know any API that supports this? Thanks AJ 回答1: You are not permitted to sell physical goods or services using 'In-App Purchasing' since the goods purchased via this method must relate directly to the app using them. You are free to implement your own payment handling system for selling physical goods though - for