Jaydip Kansagra
  • Member for 6 years, 8 months
  • Last seen more than 1 year ago
1 answers
1 votes
3k views
Adding products to cart via url
4 votes

Please try with this. <a href="http://example.com/index.php/checkout/cart/add/product/1/form_key/<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>/">My cart</a>

View answer
1 answers
3 votes
720 views
Add new column in product table while placing order from backend
Accepted answer
3 votes

Make a field in database table "sales_flat_order_item" like "statetax" In your module config file. add this code <events> <checkout_submit_all_after> <observers>...

View answer
2 answers
4 votes
60 views
At layered navigation need scroller in magento
Accepted answer
3 votes

You need to set fix height of this element. and user to overflow:scroll div.scroll { background-color: #00FFFF; width: 100px; height: 100px; overflow: scroll; }

View answer
1 answers
0 votes
5k views
Create dropdown/select box in magento system.xml for payment/shipping configuration
2 votes

Create drop down in system.xml and show custom values in it, rather than using default magento classes only Directory : app/code/local/Companyname/Modulename/config/system.xml In system.xml <...

View answer
2 answers
1 votes
860 views
Why this happaning product to cart but price getting 0 or NULL in magento API
2 votes

I’m testing out the Cart API and it seems I cannot get any data related to price, total price, etc until I enter in customer information. The variables are there, but all of the price values are null/...

View answer
1 answers
1 votes
134 views
How to create extension of custom page layout in Magento
2 votes

Add new custom layout for few cms pages in one Magento shop. It’s really useful for different static pages of your shop. First create extension with only config file in it: app/code/local/Metizsoft/...

View answer
4 answers
2 votes
5k views
Tier price table on product view page
Accepted answer
2 votes

Please add following code in your view.phtml file <?php echo $this->getTierPriceHtml() ?>

View answer
3 answers
2 votes
6k views
Magento 2 - Changed the base URL but old base url seems to be cached somewhere. Any ideas?
2 votes

Make a test.php file and upload in your server and run it. so clean your store and remove unwanted file and folder like var/cache... ## Function to set file permissions to 0644 and folder ...

View answer
1 answers
3 votes
59 views
GST 10% flat on all item in magento
Accepted answer
2 votes

You can check it from admin side Sales > Tax > Manage tax rules You can add your own tax rule here. also this rules you can get from google.

View answer
1 answers
4 votes
1k views
magento 2: set product image url
1 votes

Pleaes try with following code use Magento\Framework\App\Action\Context; class Createproduct extends \Magento\Framework\App\Action\Action { protected $directoryList; protected $file; ...

View answer
3 answers
1 votes
228 views
Failed checkout with CC fire event sales_order_place_after. This is problem for me
Accepted answer
1 votes

There are two way to send your coupon after cc payment is success 1st (Recommended) : you can create a custom event after cc transaction is completed Ex : Place this code on transaction complete ...

View answer
2 answers
0 votes
2k views
How to show products in the drop-down menu
1 votes

Yes its possible. You can create your custom code into .../template/catalog/navigation/top.phtml or Enable path hints and get the file path of the navigation menu and <?php $products = Mage::...

View answer
3 answers
0 votes
139 views
Magento site not showing products in admin?
1 votes

Export CSV from "Dataflow Profile" and check and compare your csv field. because in your CSV have removed mandatory field thats why your products not display on admin panel. First check and resubmit ...

View answer
2 answers
0 votes
1k views
How do I add stickers or labels to my product image?
1 votes

You Can add watermark on product images.

View answer
1 answers
0 votes
551 views
Programatically Adding Configurable Product To Cart Not Working
1 votes

Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); $simpleProduct = Mage::getModel('catalog/product'); try { $simpleProduct // ->setStoreId(1) //you can set data in ...

View answer
2 answers
3 votes
1k views
How to get file path of product page?
1 votes

Please enable the Template Path Hints. and refresh the product page and open your file which you want to edit/change..

View answer
2 answers
6 votes
827 views
how to add product to cart in magento api V2
1 votes

you can add to cart a product. But product have some option and it's mandatory. so your item will not set in cart. so first check the option of the cart or add new simple product and check it.

View answer
1 answers
1 votes
537 views
Magento Add To Cart Multi Product at a time
1 votes

copy this file and past your list.phtml in catalog/product <?php $_productCollection=$this->getLoadedProductCollection(); $_helper = $this->helper('catalog/output'); ?> <?php ...

View answer
2 answers
2 votes
712 views
Mage_Eav_Model_Attribute_Data::factory() must be an instance of Mage_Eav_Model_Attribute
0 votes

I had same issue, but its resolved after run following query into my database : UPDATE eav_attribute SET attribute_model = NULL WHERE attribute_id = '25'

View answer
2 answers
3 votes
1k views
Create Account not working properly for Guest User : Delete operation is forbidden for current area (Enterprise Magento ver. 2.1.0)
0 votes

You can use following code for Delete operation is forbidden for current area in products or any un secured area // Here is for product delete $registry = $objectManager->get('\Magento\Framework\...

View answer
7 answers
2 votes
8k views
Magento on localhost forwarding to live site
0 votes

You just need to change database setting in your PHPMYADMIN. just find core_config_data table. and change web/unsecure/base_url value URL. and change web/secure/base_url value URL. Hope this will ...

View answer
2 answers
0 votes
2k views
How to set mobile number unique at the time of customer registration in magento
0 votes

Goto -> phpmysql database open -> eav_attribute Find your attribute and Set "1" in "is_unique" field

View answer
2 answers
1 votes
50 views
How to import extension reviews from Magento Connect to my store for same extension?
0 votes

Goto https://www.magentocommerce.com/ Create magento account. and them Login click developer menu. and them go to as per suggestion.

View answer
3 answers
0 votes
635 views
How to get details of products in a catalog search page?
0 votes

You can try this... Name $this->getName(); Sku $this->getSku();

View answer
3 answers
0 votes
2k views
Switch between mobile and desktop version
0 votes

Please check this Following URL http://www.magentocommerce.com/magento-connect/theme-switcher-in-magento.html

View answer