Need Websites?

We, QuickBizTech have 8 Years of Exp in Web development in PHP and hosting. Skills: Photoshop, Designing, Core PHP, MySql, Joomla, Wordpress, Drupal, Magento, phpBB, Opencart, Smarty, Google API, JQuery, Charts, oAuth, SEO, Payment Gateways.


Please contact us for any kind of websites to be developed, upgraded, migrated. Reach our team for your dream website @QuickBizTech

Thursday, September 19, 2013

Magento: How to change order status programmatically?

(with PHP coding).

First, you need to load your order.

If you have order id, you can load order in the following way:-

$orderId = YOUR_ORDER_ID;
$order = Mage::getModel(‘sales/order’)
->load($orderId);

If you have order increment id, you can load order in the following way:-

$orderIncrementId = YOUR_ORDER_INCREMENT_ID;
$order = Mage::getModel(‘sales/order’)
->loadByIncrementId($orderIncrementId);

Now, here is the code to change order status:-


/**
* change order status to ‘Completed’
*/
$order->setState(Mage_Sales_Model_Order::STATE_COMPLETE, true)->save();

Similarly, you can change the order status to pending, processing, canceled, closed, holded, etc.

/**
* change order status to ‘Pending’
*/
$order->setState(Mage_Sales_Model_Order::STATE_NEW, true)->save();

/**
* change order status to ‘Pending Paypal’
*/
$order->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, true)->save();

/**
* change order status to ‘Processing’
*/
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true)->save();

/**
* change order status to ‘Completed’
*/
$order->setState(Mage_Sales_Model_Order::STATE_COMPLETE, true)->save();

/**
* change order status to ‘Closed’
*/
$order->setState(Mage_Sales_Model_Order::STATE_CLOSED, true)->save();

/**
* change order status to ‘Canceled’
*/
$order->setState(Mage_Sales_Model_Order::STATE_CANCELED, true)->save();

/**
* change order status to ‘Holded’
*/
$order->setState(Mage_Sales_Model_Order::STATE_HOLDED, true)->save();

You can also cancel an order in the following way:-
if($order->canCancel()) {
$order->cancel()->save();
}

Hold an order:-
if($order->canHold()) {
$order->hold()->save();
}

Unhold an order:-

if($order->canUnhold()) {
$order->unhold()->save();
}

Automatically Publish Blogger Posts To Facebook,Twitter And Other Social Sites

Social media plays an important role in improving any blog's SEO.That's why you may watch social media gadgets almost on every blog/website.If you have enough number of subscribers on social sites then just automatically publish your posts on social sites and get the traffic.Today I am giving a tutorial about automatically posting on facebook,twitter and some other social sites with using dlvr.it service which is free of cost.I am also using this service to publish my blogger posts facebook and twitter.The reason behind to choose dlvr.it is it is very easy to use and install.You can on-off auto publishing anytime and very easily.Lets see how to use it.

Automatically Publish Blogger Posts On Social Sites
  • First go to dlvr.it
  • Signup with giving your email address and choosing password.




  • Now go to your inbox and confirm your email address first
  • You will redirect to another page here you have to provide your feeds address in below format




http://feeds.feedburner.com/FEEDBURNER USERNAME HERE


  • Click on twitter icon and you will redirect to twitter
  • Give your twitter's profile's username and password and hit "Authorize App" button.Now your posts will automatically publish on twitter.




  • Now click on facebook icon.


  • You will redirect to facebook page.Log in to your facebook account from which you are managing your fanpage and select your fanpage.
  • Customize your services as you wish and save your changes.
That's all about auto posting on social networking.

See more at: http://www.helperblogger.com/2012/05/automatically-publish-blogger-posts-to.html#sthash.uZGzPFl1.dpuf

In CSS3 Animation in Menu Navigation


style.css


.box
{
    display: inline-block;
    float:left;
    height:200px;
    overflow: hidden;
    width:20%;
   
    -webkit-transition: width 1s;
    -moz-transition: width 1s;
        transition: width 1s;
}

.box.home      { background-color: #2d89ef; }
.box.about     { background-color: #00a300; }
.box.portfolio { background-color: #e3a21a; }
.box.services  { background-color: #9f00a7; }
.box.contact   { background-color: #ee1111; }

.box a
{
    color:#FFF;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    height:100%;
    display:block;
        padding-top: 20px;
}

.box span
{
    display:block;
    position:relative;
    top:100%;
    text-align: center;
   
    -webkit-transition: top 1s;
    -moz-transition: top 1s;
    transition: top 1s;
}


.nav:hover .box { width:10%; }

.nav .box:hover { width: 60%; }

.box:hover span{ top:25%; }


menu.html


<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">

</head>
    <body>
<div class="nav">
     <div class="box home">
    <a href="#home">HOME
    <span><img src="./images/home.png" alt="" /></span></a>
     </div>
     <div class="box about">
    <a href="#about">ABOUT
    <span><img src="./images/person.png" alt="" /></span></a>
      </div>
      <div class="box portfolio">
    <a href="#portfolio">PORTFOLIO
    <span><img src="./images/folder.png" alt="" /></span></a>
      </div>
     <div class="box services">
    <a href="#services">SERVICES
    <span><img src="./images/screw-driver.png" alt="" /></span></a>
     </div>
     <div class="box contact">
    <a href="#contact">CONTACT
    <span><img src="./images/mail-back.png" alt="" /></span></a>
     </div>
     </div>
</body>
</html>

It shows Like




Watch ARRAMBAM - Official trailer - Upcoming Ajith Movie

Arrambam is the 53rd film of Ajith kumar directed by Vishnuvardhan produced by Satya Sai movies . The movie will hit the screens on Diwali 2013

How can i remove author name in my Blogger?

Pretty simple!

You may have missed the Save part to save your changes.

Assuming it is a standard format theme template:

From the Blogger Dashboard > Layout > Blog Posts > Edit

Post Page Options > Posted By > Off

Click the Save button at the bottom

Click Apply to Blog - top right

2 BHK Individual House in Ramamurthy Nagar for Sale, Bangalore

36 Lakhs
More Info:  http://property.sulekha.com/2-bhk-house-for-rent_11961466

How to Strengthen Your Marriage

Marriages are made in heaven! But, maintaining a marriage is one of the most tedious tasks. A successful marriage requires immense effort. Essential ingredients for a successful marriage are love, care and forgiveness. Moreover, you must not take your partner for granted. If you want to make your marriage successful then apply given below tips.

Tips and Ideas for Strengthening Your Marriage


  • A good morning kiss is the best way to start the day. This will make your partner feel special. A great idea for strengthening the marriage.
  • Always wear you wedding ring. This would remind both of you about your commitments for each other.
  • Politeness is the key for a successful relationship. If you want to make your marriage successful then be polite to your partner.
  • You must be a good listener. Listen to your spouse attentively. This is one of the major techniques for strengthening your marriage.
  • You must encourage your spouse by frequent complements. This is a great way to strengthen your marriage.
  • Holding hands of your spouse has a great positive effect.
  • In order to make your spouse special, give him/her beautiful gifts.
  • Watching sunset is a great way to spend quality time together.
  • Smiling face is the best way to start a day. This will contribute a lot in strengthening your marriage
  • You must be polite and gentle with your spouse.

  • How to Propose a Girl

    So, you are thinking about that girl from couple of months but unable to speak a single word. This happens with almost every guy when he falls in true love with someone. If you are sailing in the same boat then do not worry. Just have a smile on your face and apply the given below steps.


  • Gifting is necessary to propose a girl; flower gift, chocolate gift or any personalized love gift would serve the purpose.



  • Valentines Day is an ideal time to propose your love to a girl. Buy a bouquet of valentine flower and ask her to accept your love proposal.



  • Everyone has certain skill, such as humor, wit, talkativeness etc. While dating a girl, you must utilize any of your best talent. Your skill would play key role in proposing a girl.
  • There are no institutions or coaching classes for proposing a girl. You need to socialize a lot and enhance your communication level. This is the best way to express your love to a girl.

  • It would be advisable to be a good listener. You must listen to the other person attentively. This feature of yours would be an added advantage for you while proposing a girl.

  • You must be there at times of her need. Girls are always considered weak as compare to guys. Thus, you must offer her physical protection. But, apart from physical protection, another thing must be considered. It is the emotional dependence. Girls always have a liking for emotionally supportive guys.

  • In order to propose a girl, you must be expressive. Expression of feelings is a little tough task. But, it plays key role in getting you the girl of your dreams.
  • Girls whole-heartedly welcome sweet surprises. So, give surprises to your sweet eart like chocolates, flowers, soft toys, hat etc. There is no need to buy expensive gifts. Affordable gifts will also serve the purpose.
  • Invite your dream girl for a lunch and cook her favorite dish. This is the best way to propose a girl. This is an ideal way to reflect your love and affection.
  • Before proposing the girl, try to understand her body language If she is sitting crossed leg and her feet pointing towards you then she is simply interested in you.
  • Girls always have a liking for humorous guys. Humor is the ultimate way from getting rid of tension. This also relaxes one's mood.
  • Rajnath challenges Congress to name its PM candidate

    Taking a dig at the low popularity ratings of prospective Congress prime ministerial candidates, BJP president Rajnath Singh today challenged the ruling party to name its nominee for the top job.

    "The people want to know who will be Congress candidate (for PM). The Congress must announce the name at least six to eight months before the elections so that the people can make an informed decision," Singh said.

    "The question now is who will be Congress? prime ministerial candidate," Singh said talking to reporters here.

    The BJP, as announced by him earlier, has declared 'at the appropriate time' its candidate for the post by naming Narendra Modi, Singh said.

    Referring to popularity rating surveys of front runners for prime ministerial candidates, the BJP chief said, "after the findings, the Congress is not in a position to announce its prime ministerial candidate's name".

    Various surveys on popularity and acceptance among voters of probables for the PM's post have placed BJP?s Narendra Modi ahead of likely Congress names such as incumbent Manmohan Singh and AICC vice president Rahul Gandhi, he claimed.

    Credits: http://zeenews.india.com/news/nation/rajnath-challenges-congress-to-name-its-pm-candidate_877735.html