Gorobak

Gorobak

Released 8 months ago , Last update 8 months ago

Gorobak (/go-ro-bək/) is a source code template for shopping cart. Although shopping cart is the one of the core things in the development of an e-commerce apps, it is most time-consuming thing to create and built. Therefore, I create this template to save you a lot of time if you want to create an e-commerce app, that's my main purpose.

Gorobak Full Description

Gorobak (/go-ro-bək/) is a source code template for shopping cart. Although shopping cart is the one of the core things in the development of an e-commerce apps, it is most time-consuming thing to create and built. Therefore, I create this template to save you a lot of time if you want to create an e-commerce app, that's my main purpose. Currently, it is only available for iOS, but in the near future I will make it available for Android, too. Still for the sake of the main purpose, I write the codes in Swift 3. If I wrote them in Swift 2 or 2.3, I had to update them into Swift 3 eventually, because Apple always forces the users and developers to use the its latest technology. One of the advantage of Gorobak, it is JSON serialization ready. There is a possibility that you want to store the shopping cart data to the server. Before sending it to the server, it needs to be serialized into JSON format. There is a function in Gorobak that help you do this easier. In Gorobak bundle, I also created the other ViewControllers, to help you understand how it is used and works. You can build the app to run in simulator or iOS device (if you are the member of Apple Developer Program). In the source code I give the brief explanation about each line of the codes and also there are long explanation about the codes in the documentation folder.

 

How To Import Gorobak To Your e-Commerce App Project

Click File>Add Files to "project_name"

 

Select Gorobak.swift from the directory where you save Gorobak bundle

 

Create Gorobak's Instance

 

An Example To Use Gorobak

//create Gorobak's Instance
let cart = Gorobak.sharedInstance

//add product to Gorobak
@IBAction func btn_add2cart(_ sender: UIButton){
car.addProduct(prodID: prodID.text!, prodName: prodName.text!, prodPrice: "\(currency.text!) \(prodPrice.text!)", imageURL: imageURL.text!, stock: prodStock.text!, weight: prodWeight.text!)
}

//Serialze product data into JSON format
let valid = JSONSerialization.isValidJSONObject(cart.prepareForConvesionToJSON())
if valid {
if let productsJSON = try? JSONSerialization.data(withJSONObject: cart.prepareForConvesionToJSON(), options: .prettyPrinted) {
let strJSON = String(bytes: productsJSON, encoding: .utf8)
let parameterURL=["products":strJSON!]
}

}

Read the documentation to see more about how to use Gorobak

Benefits

  • Swift 3

    Gorobak is written and developed in Swift 3. Swift 3 is the latest version of Swift, so it will compatible for the iOS device in long term.

  • Time-Saving & Easy to use

    By using Gorobak you can save a lot of time for developing your e-commerce apps. To use Gorobak in your project, there only 2 things to do, first, import Gorobak Class and then create Gorobak's instance in every class you want it to have access to Gorobak.

  • Prepared For json serialization

    There is a function to help you serialize Gorobak's product data into JSON format. This function saves you 3 steps in JSON serialization process.

Features

  • PRoduct, shipping and tax data

    Gorobak holds all the related price data of your e-commerce app, such as product prices; shipping cost,shipper name and shipper service; and tax amount.
  • Multi currency conversion free

    Gorobak does not handle multi currency conversion. It has to be done separately. This way will simplify your e-commerce app algorithm.
  • prepared for json serialization

    There is a function to help you serialize Gorobak's product data into JSON format. This function saves you 3 steps in JSON serialization process.

 

Pricing

14 day 14-day money-back guarantee

$19.99

Application License

  • Recurring license

  • 1 application

  • Can distribute binary products only

  • Commercial use

  • 6 months support

Need custom services for this product? Get a quote
2 licenses, starting from From » $19.99 View Licenses

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.

or Get a quote

for customization or integration services


Or enter your name and Email
No comments have been posted yet.