2. Goto admin-->system-->configuration-->General-->contacts
3. Enable Contact Us->Yes
4. Email options-->Send emails to-->(Enter your email id which you want to receive)
Iam a Wfm Scheduler in Conduent business services india LLP. As an scheduler, I am the responsible to check and create each and evey schedule assigned in the operations for the business line. This blog explains about Magento only.
app/code/core/Mage/Checkout/controllers/OnepageController.php`
Search for
$this->getOnepage()->getQuote()->save();
//this makes the cart empty (sets the quote as converted to order)
if (isset($redirectUrl)) {
$result['redirect'] = $redirectUrl;
}
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
And replace this with the following.
if (isset($redirectUrl)) {
$result['redirect'] = $redirectUrl;
$this->getOnepage()->getQuote()->setIsActive(1) ;
}
$this->getOnepage()->getQuote()->save();
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
Open the file /app/design/frontend/package/theme/layout/customer.xml and comment these linesTo remove My Account link :
<!--<action method="addLink" translate="label title" module="customer">
<label>My Account</label>
<url helper="customer/getAccountUrl"/>
<title>My Account</title><prepare/><urlParams/>
<position>10</position>
</action>-->
Open the file /app/design/frontend/package/theme/layout/wishlist.xml and comment these lines.To Remove Wishlist link :
<!--<reference name="top.links">
<block type="wishlist/links" name="wishlist_link"/>
<action method="addLinkBlock">
<blockName>wishlist_link</blockName>
</action>
</reference>-->
Open the file /app/design/frontend/package/theme/layout/checkout.xml and comment these linesTo Remove My Cart link :
<!-- <action method="addCartLink"></action> -->
Open same file, /app/design/frontend/package/theme/layout/checkout.xml and comment the linesTo Remove Checkout link :
<!-- <action method="addCheckoutLink"></action>-->
1 | <IfModule mod_rewrite.c> |
2 | RewriteEngine On |
3 | RewriteBase / |
4 | RewriteRule ^index\.php$ - [L] |
5 | RewriteCond %{REQUEST_FILENAME} !-f |
6 | RewriteCond %{REQUEST_FILENAME} !-d |
7 | RewriteRule . /index.php [L] |
8 | </IfModule> |
|
now your index.php issue will be solved.
** if that still does not work, then make sure you have mod_rewrite enabled / installed on your server.
|
//app/code/core/Mage/Sales/Model/Order.php Line#1356,1450
//$mailer->setQueue($emailQueue)->send(); Change To
$mailer->send();
app/design/frontend/base/default/template/checkout/success.phtml
//add following line Top success page for sending mail direct
// Start Send Email Here......
$order = Mage::getModel('sales/order');
$incrementId = Mage::getSingleton('checkout/session')->getLastRealOrderId();
$order->loadByIncrementId($incrementId);
try{ $order->sendNewOrderEmail();}
catch (Exception $ex) { echo "Email Not Sent..."; }
$customer = Mage::getSingleton('customer/session')->getCustomer();
$email = $customer->getEmail();//End Email Sending
<block type="cms/block" name="your_block_id" before="-">
<action method="setBlockId"><block_id>your_block_id</block_id>
</action>
</block>
This code will place the block “your_block_id” that you have created
in the admin above the content on the category pages (notice the before=”-“
attribute, which makes sure your block gets displayed before the rest
of the content). This is perfect for a seasonal banner that could
advertise a current sale on all product listings.[cc lang="php" tab_size="2" lines="40"]
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('your_block_id')->toHtml(); ?>
[/cc]
{{block type="cms/block" block_id="your_block_id"}}
public_html/app/design/frontend/base/default/template/checkout
/onepage/link.phtml
Here, you can find the following code:<?php if ($this->isPossibleOnepageCheckout()):?>
<button type="button" title="<?php echo Mage::helper('core')->
quoteEscape($this->__('Proceed to Checkout')) ?>
" class="button btn-proceed-checkout ban-checkout
<?php if ($this->isDisabled()):?>
no-checkout
<?php endif; ?>"
<?php if ($this->isDisabled()):?>
disabled="disabled"
<?php endif; ?>
onclick="window.location='<?php echo $this->getCheckoutUrl() ?>';">
<span>
<span>
<?php echo $this->__('Proceed to Checkout') ?>
</span>
</span>
</button>
<?php endif?>
app/etc/modules/Envato_All.xml
: It's a file used to enable our custom module.app/code/local/Envato/Recentproducts/etc/config.xml
: It's a module configuration file.app/code/local/Envato/Recentproducts/Model/Recentproducts.php
: It's a model file which provides the array of most recent products.app/code/local/Envato/Recentproducts/Block/Recentproducts.php
: It's the main block file for our custom block.app/design/frontend/default/default/template/recentproducts/recentproducts.phtml
: It's a template file which contains the XHTML-related stuff.app/design/frontend/default/{your folder}/template/catelog/layer/view.phtml
Then open that that file & paste the following jquery script at the end of the page:
<script>var $j= jQuery.noConflict();// no conflict method $j (document).ready(function(){ $j("#narrow-by-list > dt").click(function(){ if(false == $j(this).next().is(':visible')) { $j('#narrow-by-list dd').slideUp(300); } $j(this).next().slideToggle(300); }); $j('#narrow-by-list dd').hide(); $j('#narrow-by-list dd:eq(0)').show(); }); </script>
NOTE:
#narrow-by-list is the id used in that file( <dl id=”narrow-by-list“>).
If you used different id’s, replace this with your id and save the
file. Refresh the cache and reload the browser to see the results. Use
no-conflict method in magento. It is a good practice to avoid javascript
conflicts in the page.
1
|
<dbname><![CDATA[user_magedatabase]]></dbname>
|
Log in to your Magento admin panel then go to System -> Configuration->General. From the Country option tab you can see there is an option "Postal code is optional for the following countries" Select the country which you want to Optional/Not validate. then click on save config to save your settings.
price += parseFloat(config[optionId][element.getValue()]);
Should be
price += parseFloat(config[optionId][element.getValue()].price);
Basically the code was trying to convert a javascript Object to a float. Making the price 0.
(i) Magento admin -> System Configuration -> Developer ->
Under “Javascript Settings”,
change “Merge Javascript Files” to YES.
(ii)Magento admin -> System Configuration -> Developer ->
Under “CSS Settings”,
Change “Merge CSS Files” to YES
Hello, Sometimes we may get the error on admin page once done with the Magento installation. In that scenario, we have to do the following: ...