44

You can use the below code: in .phtml file : <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('block_identifier')->toHtml(); ?> sample : <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('home')->toHtml(); ?> in static block / cms page : {{block type="core/template" template="...


29

The question is tagged with ce-1.7.0.2 but for future reference, if you are using ce-1.9.1.0 ee-1.14.1 or higher, the feature is already built in, with the so-called Configurable Swatches which allow "Product Image Swap". You can enable this feature in System > Configuration > CATALOG > Configurable Swatches Product Image Swap The following ...


21

You need to create a new extension that checks, before rendering the quick search (or advanced search) page if the product collection contains exactly one product. For this let's create a new extension called StackExchange_CatalogSearch. You will need to following files: app/etc/modules/StackExchange_CatalogSearch.xml - the declaration file <?xml ...


17

It's a fair amount of work to implement that yourself, but there are a number of extensions that implement that, both free and commercial. SCP is probably the most prominent free extension, and it works well if the theme templates haven't diverged too far from the default. http://www.magentocommerce.com/magento-connect/simple-configurable-products.html ...


15

Create an override of file /skin/frontend/rwd/default/js/app.js (for example in /skin/frontend/rwd/mystyle/js/app.js) comment the line (default line: 649): //image.elevateZoom(); Refresh the Magento cache.


15

--The easiest way is that we can change the input value from template: (override this template - not recommend) vendor/magento/module-catalog/view/frontend/templates/product/view/addtocart.phtml --The second way is the Magento default config: STORES > Configuration > Catalog > Inventory > Product Stock Options > Minimum Qty Allowed in Shopping Cart > > Add ...


14

You should have to create local.xml file inside your frontend theme folder app/design/frontend/[your_package]/[your_theme] (if you haven't already) And insert the following lines there <?xml version="1.0"?> <layout version="0.1.0"> <catalog_product_view> <reference name="product.info.tabs"> <action method="...


12

Here is a module that adds a 'Buy Now' button that takes customer directly to checkout with the choosen product in cart. Module Directory: | registration.php | +---Controller | \---Cart | Add.php | +---etc | | module.xml | | | \---frontend | routes.xml | sections.xml | \---view \---...


10

As mentioned in one of the other answers, the zoom feature starts in the createZoom function of the ProductMediaManager in /skin/frontend/rwd/default/js/app.js file. So, another option is to override the individual createZoom function via JS later in the process. For example, if you are inserting JS as a part of your own theme, then you can add the ...


10

Found the solution! I originally tried @AreDubya's solution by making a custom .js file with jQuery.noConflict(); and making sure to include it in my local.xml with <catalog_product_view> <reference name="head"> <action method="addItem"><type>skin_js</type><script>js/lib/elevatezoom/jquery.elevateZoom-3....


9

You are going into the right direction, but you need to do some modifications: addToParentGroup and setTitle are used to show content in review so add this code below <action method="addToParentGroup"><group>detailed_info</group></action> <action method="setTitle" translate="value"><value>Reviews</value></action&...


9

You can also use the layout if you don't want to create a plugin. Assuming you have a theme "Vendor_default" and running Magento >= 2.1.2 Upsell Products: Create the file app/design/frontend/Vendor/default/Magento_Catalog/layout/catalog_product_view.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...


7

I recently implemented something very similar and will share the relevant code below. But first some comments about performance, since that was the question: General thoughts on performance for your requirements: "they shouldn't be in cart" means, you have only limited means to cache the upsell block. I strongly recommend to do it anyway, but set cache key ...


7

You can do the following in your local.xml: <reference name="product.info"> <action method="unsetChild"> <alias>description</alias> </action> <action method="insert"> <block>product.description</block> </action> </reference> or for the product attributes ...


7

From what I can tell, you're trying to get the configuration setting which determines how Taxes are displayed in the Catalog in Magento. This setting can be found in System -> Configuration -> (Sales)Tax -> Price Display Settings If you look at the dropdown for "Display Product Price in Catalog" you can see that the <select> has three values of 1,2,3 ...


7

If you have a lok at how the review tab has been added in review.xml of the rwd theme, you find: <catalog_product_view> <reference name="product.info"> <block type="review/product_view_list" name="product.reviews" as="reviews" template="review/product/view/list.phtml" after="additional"> <action method="...


7

Admin Panel -> System -> Advanced -> Mage_Tag = "Disable"


7

Try this module: File : app\etc\modules\Rkt_CrossSell.xml <?xml version="1.0"?> <config> <modules> <Rkt_CrossSell> <active>true</active> <codePool>community</codePool> <depends> <Mage_Catalog /> </depends> &...


7

You can install imagick "easily" if you have access to the server with, one of the following commands: pecl install imagick sudo apt-get install php5-imagick && sudo php5enmod imagick or you do the "hard" way by compiling it yourself: https://community.webfaction.com/questions/6681/how-do-i-install-the-imagick-pecl-extension-for-my-php-53-...


6

Following solution is done by editing the custom layout update section of the relevant category. Edit yourTheme/template/catalog/product/view-recipe.phtml file to obtain the look you want for the products of the specific category. For anyone who is curious about this. The solution was a lot easier than I thought. I only had to place this piece of ...


6

This might be the easiest solution possible. Create a new theme and only change the product view page structure in that theme. There's a configuration available in admin panel, which allows you to assign a theme against a product. See the image below. Hope this would be useful for anyone searching for this.


6

After spending some time, i found the answer as mentioned below, hope this will help for someone. <script type="text/javascript"> require([ 'jquery', 'fotorama/fotorama', 'underscore', 'matchMedia', 'mage/template', 'text!mage/gallery/gallery.html', 'uiClass', 'mage/translate' ...


6

what happens in wish list product , when a guest is adding a product to a wish list in the preDispatch method on controller they are checking whether the customer is logged in or not. If customer is guest then they set the current product's url customer session like this Mage::getSingleton('customer/session')->setBeforeWishlistUrl($this->...


5

Use the before or after tag in your block. Here is an official guide to achieve that. Example: <block type="cms/block" before="some-other-block" name="left.permanent.callout">


5

Your question is not clear. However if you are looking to customize a particular category, then it is very easy to dot that. Magento generates a specific layout handle for each categories. It will name like CATEGORY_{ID}. So suppose the category id is 22. then create local.xml layout file and put your custom design like this File : app/design/frontend/<...


5

Create local.xml and paste the below code. <?xml version="1.0" ?> <layout> <default> <remove name="product_tag_list" /> </default> <layout>


5

Try: echo $_category->getName(); That should do it!


5

Problem resides in your layout update xml file, particularly in the following block declaration. <block type="abc_helloworld/index" name="helloworld_any_block" template="helloworld/index.phtml" /> Magento fails to find this block, because you don't have block declaration in your config.xml file. So you need to update your config.xml file with ...


5

There is presently no free extension that meet your requirements. I suggest you look into some HTML5 Canvas javascript libraries to achieve at least the 'designer' portion of your requirement. There are currently a few dozen available freely. Here are a few of the most popular ones (according to # of Github watchers): http://www.createjs.com/#!/EaselJS http:...


Only top voted, non community-wiki answers of a minimum length are eligible