gpranav88-zz / clothzy-MVP

Clothzy MVP
0 stars 0 forks source link

Store page hyperlinks #26

Closed agamdua closed 10 years ago

agamdua commented 10 years ago

Populate these

agamdua commented 10 years ago

populate tabs

agamdua commented 10 years ago

@gpranav88 - Some data missing in store API:

Link to Google Map. I am calling it as storeData.map in Angular, so need to add a 'map' variable which contains the link in API.

<tab heading="Map">
    <iframe width="750" height="450" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src={{storeData.map}}></iframe>
</tab>
agamdua commented 10 years ago

Again, images have a callback problem.

@gpranav88 - the rest should work with updated API

@kartikdhar - please check markup I think adding a row will solve the problem.

agamdua commented 10 years ago

To be clearer, apart from the maps, etc:

[
    {
        "id": 1, 
        "store": 1, 
        "name": "blue saree", 
        "sku": "", 
        "sex": "", 
        "price": 1500.0, 
        "price_discounted": 1400.0, 
        "brand": "ohgaan", 
        "color": "blue", 
        "material": "silk", 
        "sizes": "L", 
        "made_to_order": false, 
        "active": true, 
        "description": "bllueel llk lafkl ", 
        "popularity": "", 
        "created_on": "2014-01-24T18:01:24.016", 
        "updated_on": "2014-01-24T18:01:24.016", 
        "num_images": 2, 
        "category": "Saree"
    }, 
    {

at http://localhost:8000/api/stores/1/products should have a 'Product' key for iteration purposes (required by ng-repeat)

gpranav88-zz commented 10 years ago

The map url will be present in map_url field of store (map is a reserved keyword).