Custom Search

Move Wishlist Sidebar from Left to Right

I spent 2 hours finding my way on what I thought is a very simple task yet very confusing in the magento world. Our client with all its fuzziness wants to move the wishlist from the left side of the 3 column webpage to the right. Yes is was simple but I did not expect the wishlist has its own .xml definition also, so I keep on jumping from page.xml to catalog.xml to figure where wish is located. Turns out wishlist has its own .xml definition and its declaration of its location is in its xml. so I just replace reference “left” to reference “right”. Question now is… how will you be able to know if that module has its own .xml declarations?

Optimize your Web Store for Mobile using Magento

As more and more mobile devices like Ipad , Iphone, Android, etc, are becoming more and more popular more and more ways also to reach your audience. Magento can help you have a mobile version of your website in no time (expect if you feel to be a designer and put some little touch here and there to achieve the look and feel you believe is necessary for your online store).

But to make to long story short… Contact Us if you want to have a mobile version of your Web Store. We are Singapore’s magento experts, you are safe in our hands.

Magento Experts Singapore

If you already have an online store and want to do more out of it? Let us, give you a better solution, Magento. We are one of the few magento experts residing in Singapore. We Design, Develop, Deploy and maintain your online Store in our Fast,Secure and reliable Servers. So call us now and Have an Expert’s Opinion in your online Store using our expertise in Magento.

Manipulating Radio Buttons in Jquery

$(‘input[name=packingdetail]‘).change(function(){
         alert($(‘input[name=packingdetail]:checked’).val());                          
});

Lightning Fast Website Deployment with Wordpress

Deploying website using static and cms website? Deploying website using CMS is way faster and easier compare to deploying static and hardcoded websites.
Wordpress can we able to do what intermediate CMS websites can and there are hundreds of free wordpress templates in the web right now, you just need to have at least 3 different layout to master and propose it to you clients and banggggg….. fast money… but ofcourse if your clients wants to have some discount you can tell the story about picasso.. oppss… i forgot the time… got to go!!!!

Ecommerce Consultants based in Singapore

I am trying this keyword if I will be index if somebody search for Ecommerce Consultant base in Singapore, well.. actually yes, we are one of the best ecommerce consultants in Singapore, we design, develop and deploy your ecommerce system in ourr secure web servers. Need ERP? you’ve landed on the right page. Please drop me an email or visit Entrust Network Services Pte Ltd for more information.

Code Igniter Ajax Form

var $j = jQuery.noConflict();
     $j(document).ready(function(){
$j("form").submit(function(e) {
                        e.preventDefault();
                        $j.post("/index.php/home/submitmessage", { firstname: $j("#firstname").val(), lastname: $j("#lastname").val(),  address: $j("#address").val(),  email: $j("#email").val(), confirmemail: $j("#confirmemail").val() , telephone: $j("#telephone").val(), mobile: $j("#mobile").val(),message: $j("#message").val()  }, function (data) {
                                alert(data);
                        });
                });

        });

<form id="ajax-form" action="/home/submitmessage" method="post">

  // form field here

<INPUT class="ordersubmitbutton" TYPE="image" SRC="<?php echo base_url();?>jimages/submitform.jpg" BORDER="0" ALT="Submit Form">
</form>

in application/config/constant

// Define Ajax Request
define(‘IS_AJAX’, isset($_SERVER[‘HTTP_X_REQUESTED_WITH’]) && strtolower($_SERVER[‘HTTP_X_REQUESTED_WITH’]) == ‘xmlhttprequest’);

in the controller

function submitmessage()
        {
               
               
                //load form validation
        $this->load->library(‘form_validation’);

        //set form rules
        $this->form_validation->set_rules(‘firstname’, ‘Firstname’, ‘required’);
        $this->form_validation->set_rules(‘lastname’, ‘Lastname’, ‘required’);
        $this->form_validation->set_rules(‘email’, ‘Email’, ‘required|valid_email|matches[confirmemail]‘);
        $this->form_validation->set_rules(‘confirmemail’, ‘Confirm Email’, ‘required|valid_email’);
       
        $this->form_validation->set_rules(‘address’, ‘Address’, ‘required’);
        $this->form_validation->set_rules(‘message’, ‘Message’, ‘required’);   
       
        //run form validation
        $success = $this->form_validation->run();

        //set username variable
        $firstname = $this->input->post(‘firstname’);
        $lastname = $this->input->post(‘lastname’);
        $email = $this->input->post(‘email’);
        $address = $this->input->post(‘address’);
       
        $message = $firstname." ".$lastname."\n";
        $message .= "Tel:".$this->input->post(‘telephone’)." | Mobile:".$this->input->post(‘mobile’)."\n";
        $message .= $address."\n";
    $message .= $this->input->post(‘message’);
    $msg = $message;
        //if the validation was a success
        if ((IS_AJAX && $success) || (!IS_AJAX && $success)) {
               
                $this->load->library(‘email’);
                $this->email->from($email, $firstname." ".$lastname);
                $this->email->to(‘juliusbacosa@gmail.com’);

                $this->email->subject(‘Message from Weekee’);
                $this->email->message($msg);   

                $this->email->send();
               
                echo "Congradulations {$firstname}, your form was accepted!";
        }

        //if validation failed
        else { echo strip_tags(validation_errors()); }
       
               
        }

Copy and Paste Now!!!!

Magento Upsell (we also recommend) not showing solved

After trying almost everything from checking the javascripts codes, php codes, to trial and error delete and pasting back xml elements in catalog.xml to what ever possible solution I can think of, showing a lost We also Recommend tab is just a click of a button, I never expect to reindex the whole database after your first installation and I didn’t receive any warning that I should re index my whole system. I lost 5 hours just to learn a mistake, if something weird is happening to your magento data, please try to re index the system first before you touch any codes…

Ecommerce System Installation Singapore

We have successfully installed 10 ecommerce shops within 4 months using magento ecommerce system, having different business requirements gives pain during the development, but now, we are very proud to say, we know magento ecommerce system enough that we can cater the enterprice level already. We are moving towards integrating magento to other business software models like CRM and more advanced ERP systems. byeee.!!!

JQUERY JSON Codeigniter

Jquery snippet to call a method with a json p=output

jQuery("#getjson").click(function(){
         jQuery.getJSON("index.php/welcome/jjson/", function(json){
                        jQuery(‘#json’).html("<a href=’http://www.google.com’ target=’_blank’>" + json.glossary.title + "</a>:"+ json.glossary.GlossDiv.title + ":" + json.glossary.GlossDiv.GlossList.GlossEntry.ID);
                });
         });

where
json.glossary.GlossDiv.title
is the from json = the variable containing the data
glossary = is an array item from the json data
Glossdiv… etc…

here is the controller that writes this data.

function jjson()
        {

               
                $results[‘jsonx’] = ‘{
                 "glossary": {
            "title": "example glossary",
                        "GlossDiv": {
               "title": "S",
                                "GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
                                        "SortAs": "SGML",
                                        "GlossTerm": "Standard Generalized Markup Language",
                                        "Acronym": "SGML",
                                        "Abbrev": "ISO 8879:1986",
                                        "GlossDef": {
                        "para": "A meta-markup language, used to create markup languages such as DocBook.",
                                                "GlossSeeAlso": ["GML", "XML"]
                    },
                                        "GlossSee": "markup"
                }
                    }
           }
                 }
                }’
;
                $this->load->view(‘Json_record’,$results);
               
        }

then the view to render the data.

<?php print $jsonx; ?>