Tuesday, 22 November 2016

AWS drops its Storage Prices and Launches New Cold storage retrieval options.



Amazon Web Services (AWS) today announced a significant price drop for some of its storage services. In addition, it is also launched a few new features for developers who want to use its Glacier cold storage service. The new prices that most developers will likely care about are those for S3, AWS’ main cloud storage service... ReadMore








Monday, 21 November 2016

MAGENTO : CAN’T LOGIN TO ADMIN-PANEL USING CHROME BROWSER.

While working on a local host, Magento Admin-Login, often appears to be working fine on Mozilla but not on chrome.
To resolve this problem just follow below steps:

1)First login to admin-panel using firefox.
2)Go to System->Configuration
3)From left panel select web under General
4)Open the session cookie management tab and change the ‘Use HTTP Only’ to ” No”.


keep visiting our Blog or Visit this Link for more queries

Friday, 18 November 2016

Want to promote your products to the world? Choose Our Magento eCommerce Development services



Magento Services at AbacaSys

Magento means flexible shopping. It is an open source e-commerce platform which provides online merchants across the globe with a highly flexible shopping cart system. It is also used to gain control over the look, feel and content, and functionality of their online websites and store. Magento also offers powerful online marketing system along with search engine optimization and efficient catalog-management tools.

Well, it is quite impressive but before you go hunting for the best Magento developer company of your liking out there, understanding what all makes for the perfect fit is necessary. There are always some important points that you should consider before settling upon a particular provider. What are those?

Those are what you get with AbacaSys.com:

Certified and Skilled Minds
This is what AbacaSys is all about. You will find a lot of companies out there that claim to be the masters of Magento. If they really are what they claim to be then their developers must have the particular certification. This is awarded to every deserving candidate who has successfully cracked the Magento exam. This paper, although not the only criteria but is very important for you as it enables you to gauge their skill and assess their value for your company.

AbacaSys is a Pure Magento Development Company
Staying weary of more generic web solutions companies may not be the worst thing to do. There are probably millions of IT Solutions companies near you who would offer web development services along with Magento. But be careful while making that choice as Magento is quite huge and complicated. It is very much unlike its competitors such as Prestashop or Open Cart. Magento requires more than a regular PHP/web developer on the handling end. At AbacaSys.com we know the complete architecture, existing features, and tools, customization techniques, its standard practices, available patches and extensions, and performance optimization, tools, etc. Therefore it is best if you go with a company that is an expert in Magento. AbacaSys.com is a leader in Magento and their years of experience in this community imparts them the ability to serve small, mid-size and large businesses alike.

Now coming back to the big question, how do you go about selecting the right Magento expert for your business?

For starters, our Magento expertise and experience speak for themselves:
    We offer Multi-Store implementation;
    More than 50 different types of API integrations which include UPS Address verification API, Tracking, and Rating API, etc.;
    You also get custom plug-in creation;
    Get ahead of your competition with our performance optimization tools;
    Swift database integration from Wordpress or ASPDNSF to Magento;
    SAP Integration and much more!

In any case, it is always wiser for you to do your own research. Try to find out what the company’s past work record has been and their awareness about the several of challenges of e-Commerce. If you decide to talk to the developers yourself, nothing could be better than that. Make sure to find out about their work ethic and approach in terms of communication, skill-set & experience level as well. Of course with AbacaSys.com you can be certain that you won’t have to do any of that.

Thursday, 10 November 2016

Simple way to Add Product To Cart Using Ajax in Magento

In this blog post, i am going to tell how to add products to shopping cart using ajax and jquery.Shopping cart is an essential part of any E-commerce website.
In magento the add to cart process is a simple form submit process, so the page get reloaded.Therefore, Ajax based Shopping Cart comes as a solution to fasten the buying process.

Ok lets start step by step.
1. First add jQuery on the Product Page.
2. Then Create folder jquery in root js folder.
3. Download jQuery from http://jquery.com/download/ and then place it inside (/js/jquery) folder.
4. Create a javascript file “noconflict.js” in the jquery folder (/js/jquery/noconflict.js).
5. Write this code inside noconflict.js file
jQuery.noConflict();
6. Open catalog.xml file in your theme folder [app/design/frontend/base/default/layout/catalog.xml in default magento theme]
7. Inside tag <catalog_product_view> write this code
<reference name=”head”>
<action method=”addItem”><type>js</type><name>jquery/jquery-1.6.4.min.js</name></action>
<action method=”addItem”><type>js</type><name>jquery/noconflict.js</name></action>
</reference>
8. Open any product page in frontend in a browser, through inspector, see if these two jquery files are included in your page.
9. Open the catalog/product/view.phtml file in your theme (rwd,base or any custom theme) in default magento theme,
the path is (app\design\frontend\base\default\template\catalog\product\view.phtml)
In this file you will find the javascript code as
productAddToCartForm.submit = function(button, url) {
if (this.validator.validate()) {
var form = this.form;
var oldUrl = form.action;
if (url) {form.action = url;}
var e = null;
try {
this.form.submit();}
catch (e) { }
this.form.action = oldUrl;
if (e) {throw e;}
if (button && button != ‘undefined’) {
button.disabled = true;
}}
}.bind(productAddToCartForm);
10. Change this code to
productAddToCartForm.submit = function(button, url) {
if (this.validator.validate()) {
var form = this.form;
var oldUrl = form.action;
if (url) {
form.action = url;
}
var e = null;
// Start of our new ajax code
if (!url) {
url = jQuery(‘#product_addtocart_form’).attr(‘action’);
}
url = url.replace(“checkout/cart”,”ajax/index”); // New Code
var data = jQuery(‘#product_addtocart_form’).serialize();
data += ‘&isAjax=1’;
jQuery(‘#ajax_loader’).show();
try {
jQuery.ajax({
url: url,
dataType: ‘json’,
type : ‘post’,
data: data,
success: function(data){
jQuery(‘#ajax_loader’).hide();
//alert(data.status + “: ” + data.message);
if(jQuery(‘.block-cart’)){
jQuery(‘.block-cart’).replaceWith(data.sidebar);
}
if(jQuery(‘.header .links’)){
jQuery(‘.header .links’).replaceWith(data.toplink);
}}
});
} catch (e) {
}
// End of our new ajax code
this.form.action = oldUrl;
if (e) {
throw e;
}
}
}.bind(productAddToCartForm);
11. Go to phtml file catalog/product/view/addtocart.phtml
and then find this code there
<button type=”button” title=”<?php echo $buttonTitle ?>” class=”button btn-cart” onclick=”productAddToCartForm.submit(this)”><span><span><?php echo $buttonTitle ?>
</span></span></button>
12. Change this to
<button type=”button” title=”<?php echo $buttonTitle ?>” class=”button btn-cart” onclick=”productAddToCartForm.submit(this)”><span><span><?php echo $buttonTitle ?></span></span></button>
<span id=’ajax_loader’ style=’display:none’><img src='<?php echo $this->getSkinUrl(‘images/opc-ajax-loader.gif’)?>’/></span>
13. Open your product page again and when you press the add to cart button, you should see a loading image and ajax request being sent.
14. Create a custom module with namespace Sneh_Ajax.(Register it in app/etc/modules and create its config.xml in app/code/local/Sneh/Ajax/etc folder).
15. In directory (app/code/local/Sneh/Ajax/controllers),create a file IndexController.php and add a function AddAction
<?php
require_once ‘Mage/Checkout/controllers/CartController.php’;
class Sneh_Ajax_IndexController extends Mage_Checkout_CartController
{
public function addAction()
{
$cart = $this->_getCart();
$params = $this->getRequest()->getParams();
if($params[‘isAjax’] == 1){
$response = array();
try {
if (isset($params[‘qty’])) {
$filter = new Zend_Filter_LocalizedToNormalized(
array(‘locale’ => Mage::app()->getLocale()->getLocaleCode())
);
$params[‘qty’] = $filter->filter($params[‘qty’]);
}
$product = $this->_initProduct();
$related = $this->getRequest()->getParam(‘related_product’);
/**
* Check product availability
*/
if (!$product) {
$response[‘status’] = ‘ERROR’;
$response[‘message’] = $this->__(‘Unable to find Product ID’);
}
$cart->addProduct($product, $params);
if (!empty($related)) {
$cart->addProductsByIds(explode(‘,’, $related));
}
$cart->save();
$this->_getSession()->setCartWasUpdated(true);
/**
* @todo remove wishlist observer processAddToCart
*/
Mage::dispatchEvent(‘checkout_cart_add_product_complete’,
array(‘product’ => $product, ‘request’ => $this->getRequest(), ‘response’ => $this->getResponse())
);
if (!$cart->getQuote()->getHasError()){
$message = $this->__(‘%s was added to your shopping cart.’, Mage::helper(‘core’)->htmlEscape($product->getName()));
$response[‘status’] = ‘SUCCESS’;
$response[‘message’] = $message;
//New Code Here
$this->loadLayout();
$toplink = $this->getLayout()->getBlock(‘top.links’)->toHtml();
$sidebar_block = $this->getLayout()->getBlock(‘cart_sidebar’);
Mage::register(‘referrer_url’, $this->_getRefererUrl());
$sidebar = $sidebar_block->toHtml();
$response[‘toplink’] = $toplink;
$response[‘sidebar’] = $sidebar;
}}
catch (Mage_Core_Exception $e) {
$msg = “”;
if ($this->_getSession()->getUseNotice(true)) {
$msg = $e->getMessage();
} else {
$messages = array_unique(explode(“\n”, $e->getMessage()));
foreach ($messages as $message) {
$msg .= $message.'<br/>’;
}}
$response[‘status’] = ‘ERROR’;
$response[‘message’] = $msg;}
catch (Exception $e) {
$response[‘status’] = ‘ERROR’;
$response[‘message’] = $this->__(‘Cannot add the item to shopping cart.’);
Mage::logException($e);
}
$this->getResponse()->setBody(Mage::helper(‘core’)->jsonEncode($response));
return;}
else{
return parent::addAction();
}}}
16. Save the file and go back to the product page.
17. Now add to cart using ajax should be working properly.
18. After clicking add to cart, you can see an alert box with success message.


Visit our Blog for daily updates or you can visit our website abacasys.com to check our services