Specific task

by
HarveyAnthony
Profile picture of HarveyAnthony
Posts: Threads: Thanks: Account age: less than a second
3 replies
Hey guys, I'm really new here. I'm reading the forum for few months already but I've just registered not so long ago.

I got an offer to build a website for a young business. That business will have only one product, the major one. They are preparing huge marketing campaign and the thing should be really big. They expect millions of people, users and/or visitors.

My task is to build a website, it should have an option to buy that product, but it should have an option to put some "wishes and requests" about the product, let's say you are ordering a product but you want the producer to make it a little bit special just for you, so you send them a video/photos/audio/text.

So, I'm not a noob in web development but I'm noob in (e-commerce)marketing best practices, so I really would like to hear some advices from you guys.

Should I build a website from scratch using PHP/Laravel/Symfony or maybe I should use some of already well known frameworks and cmses like Magento, OpenCart. Wordpress..stuff.

Thanks in advance
#specific #task
  • Profile picture of the author Lipipaliwal
    Lipipaliwal
    Profile picture of Lipipaliwal
    Posts: Threads: Thanks: Account age: less than a second
    Banned
    Well, if you are looking to start a young business, then I would like to suggest you, just take a look over Opencart ecommerce platform. Because for small and start up business, Opencart is the best choice.
  • Profile picture of the author webdesignnomad
    webdesignnomad
    Profile picture of webdesignnomad
    Posts: Threads: Thanks: Account age: less than a second
    Hey man, I have the exact answer to your question as I am a developer and an e-commerce man who has thought about this exact thing.

    To get straight to the point, use laveral since you are familar with it. Intergrate a single page cart and checkout. For the cart you are more than welcome to use my simple AngularJS code below, hopefully you are familar with it. For the checkout and payment capture, use stripe's checkout form.

    What it allows you to do is, capture payments and also other customer details. The payment part will be auto handled via stripe. The other details on the form upon post can be used to create an order record which you can store on your database. Then just create a simple order management backend.

    The reason you don't wanna use wordpress / bigcommerce and others is they have way way way too many features for single product stores. The other issue is trying to customize these platforms to work for single products is a nightmare. Trust me, I've tried. They have their advantages like good shipping calculators and stuff but unless you need all these tools, just avoid it as itll make your life a nightmare. Let me know if you need any more help.

    AngularJS simple cart code

    Use a factory to create a cart with its functionality

    myApp.factory('shoppingCart',[function(){

    var shoppingCart = [];
    shoppingCart.products = [];

    shoppingCart.addProduct = function(item, quantity){
    var newItem = {sku:item.sku, name:item.name, price:item.price, quantity:quantity};
    var addNewItem = true;

    for (var i = 0; i < shoppingCart.products.length; i++) {
    if (item.sku == shoppingCart.products[i].sku) {
    shoppingCart.products[i].quantity += newItem.quantity;
    addNewItem = false;
    break
    }
    }

    if (addNewItem) {
    shoppingCart.products.push(newItem);
    }

    };

    shoppingCart.removeProduct = function(index){
    shoppingCart.products.splice(index, 1);
    };

    shoppingCart.getTotal = function(){
    var total = 0;
    for (var i = 0; i < shoppingCart.products.length; i++) {
    total += shoppingCart.products[i].price * shoppingCart.products[i].quantity;
    }
    return total;
    };

    return shoppingCart;
    }]);

    Add a product like so

    $scope.addProduct = function(newItem, quantity){
    shoppingCart.addProduct(newItem, quantity);
    };



    Hope this helps!
  • Profile picture of the author SaanviRao
    SaanviRao
    Profile picture of SaanviRao
    Posts: Threads: Thanks: Account age: less than a second
    Banned
    I would like to know are you interested for ecommerce business? If yes, then I would like to suggest you just think about the reputed ecommerce platform firm such as Opencart, Magento, Shopify and so on. The best of them is Opencart and Magento, because these platforms provide an open source, user friendly and attractive themes as well.

Trending Topics