e-commerce

Rails Shopping Cart - not adding to current order

馋奶兔 提交于 2019-12-05 14:37:13
Rails noob here. I'm building a basic shopping cart and it was working perfectly before. Without changing any code (I git reset --hard to my prev commit where it was working) it broke. (?!?) Here's the breakdown: Github Repo: https://github.com/christinecha/michaka Creates a product. ✓ Adds Product ID to a new Order Item. ✓ Adds Order Item to an Order. ✓ -- Possible Issues ! - New Orders keep being created as you create Order Items = cart is always empty. ! - Cart is not connecting to the right Order ID ! - New sessions are being triggered = new Orders = problem -- ORDER ITEMS CONTROLLER class

Overcome limit of 50 in for loop in shopify

北战南征 提交于 2019-12-05 11:02:29
I have paginated a product list over a limit of 50 to fit in the whole page ( index.liquid ). But the if condition within for loop doesn't apply over whole paginated items as for loop is limited to 50 items. Any help would be appreciated. <td class="collection-reviews"> {% paginate collections.all.products by 1000 %} {% for product in collections.all.products %} {%if product.metafields.spr.reviews %} <div id="shopify-product-reviews" data-id="{{product.id}}">{{ product.metafields.spr.reviews }}</div> {%endif%} {% endfor %} {%endpaginate%} </td> No, you cannot overcome it, You can query up to

Implementing SSO in a .NET Web Farm for several e-commerce websites with WIF?

杀马特。学长 韩版系。学妹 提交于 2019-12-05 04:27:16
I have what I think is a fairly complicated question so I will do my best to articulate it here. I am looking for a single sign on (SSO) solution. I am aware of many of the options out there but have ruled most of them out as I add criteria that they need to meet. Here are the criteria: 1.) The SSO must be added to an existing "system". 2.) The existing "system" consists of "X" number of websites. 3.) All of the "x" websites are e-commerce. 4.) The websites are all owned by company Y, for whom 95% of the system was built in-house. 5.) Each of the "X" number of websites is in the same Web Farm.

add a new column for special price in grid in admin panel in magento

怎甘沉沦 提交于 2019-12-05 02:47:25
问题 I am designing an admin module in Magento 1.4.2. I am developing a grid layout displaying the product details (product name, SKU, price, special price, qty) I displayed all the columns. I cannot figure out how to display the special price in one column. I cannot retrieve the special price. Help me to solve this. I used this code for getting the price. $collection->joinAttribute('price', 'catalog_product/price', 'entity_id', null, 'left', $store->getId()); This code I used for adding a column

magento: Add product from front end

别说谁变了你拦得住时间么 提交于 2019-12-05 00:53:25
问题 Can anyone help me by some idea that how can I Add products from the front end with most of the attributes of the products in Magento? Thanks in Advance. 回答1: //$product = Mage::getModel('catalog/product'); $product = new Mage_Catalog_Model_Product(); //echo time(); // Build the product $product->setAttributeSetId(9);// #4 is for default $product->setTypeId('simple'); $product->setName('Some cool product name'); $product->setDescription('Full description here'); $product->setShortDescription(

Woocommerce Custom Product Text

怎甘沉沦 提交于 2019-12-05 00:18:06
问题 I'm trying to create a variable product using woocommerce which will include user input text which is specific to each product. To do so I am detecting for 'custom_text' type and displaying a text input field instead of the normal select-option dropdown. This is in variable.php: <form action="<?php echo esc_url( $product->add_to_cart_url() ); ?>" class="variations_form cart" method="post" enctype='multipart/form-data' data-product_id="<?php echo $post->ID; ?>"> <?php $loop = 0; foreach (

asp.net ecommerce solutions [closed]

安稳与你 提交于 2019-12-04 21:50:29
I'm working on several ASP.NET ecommerce projects where we're using Aspdotnetstorefront solution. It is not so bad. It has a lot of useful features, it is extensible, it is stable, but... the source code is like nightmare. If you need customize something - it becomes a problem for you, because you need to change it in several places and always keep it in mind. Can anyone suggest some better solution? roll your own? there are several start up projects available from microsoft or i have heard that dotshoppingcart is supposed to be good but i have not used it myself. I would advise diy as then

What ecommerce script is /pws/ShippingOptions.ice?

让人想犯罪 __ 提交于 2019-12-04 21:34:20
I recently noticed lots of stores using the same URLS I cant seem to find what it is that is powering their stores: /pws/ShippingOptions.ice?viewBasket=true If you Google that you can see it has lots of different sites that it uses. My first choice was Venda, then tried ATG Commerce, IBM Websphere.. I can't seem to figure it out! Thanks The script is FrescaCommerce Platform. Now merged as BT Expedite & Fresca, Multichannel Retail. 来源: https://stackoverflow.com/questions/7074770/what-ecommerce-script-is-pws-shippingoptions-ice

In frontend how to get which language is active among installed different languages in Open cart?

断了今生、忘了曾经 提交于 2019-12-04 21:30:16
I have installed and themed Opencart 1.5.4x with multiple languages (English, Duch, German) on live server. Opencart application works properly with these languages. When I click on the language link and browse whole site, the content of the site is translated in this language, but how to find out, programatically, which language is active? I need to show the user which language is currently active. I guess You should call $this->config->get('config_language_id'); within a controller or model to get the ID of currently active language. That means, if You have implemented Your own language

Is an autocomplete text box for entering addresses a good idea?

做~自己de王妃 提交于 2019-12-04 19:19:54
问题 Entering my address via a traditional form drives me crazy: Why do I have to enter my city, state, and zip code when my city and state can be inferred from my zip code? Choosing your state from a dropdown list is a pain in the ass -- often you can't tab into it, you have to use the mouse, etc. alt text http://img10.imageshack.us/img10/7404/traditionaladdressform.png Because I find this process so repulsive, when I designed my online store (bombsheets.com), I decided to build an auto-complete