user2012913
user2012913

Reputation: 1

simpleCart JS view cart is displaying all item info in one column. How to style output?

My simpleCart js view cart is outputting all of the item info into a single column instead of formatting it into a table. How do you style the output of the view cart?

Upvotes: 0

Views: 2947

Answers (1)

junken
junken

Reputation: 2013

You can change the output to a table using 'cartStyle : "table"' in your initialization:

simpleCart({
    checkout : {
        type : "SendForm",
        url : "cart.php",

        ... etc

    },
    cartStyle : "table"
});

Docs: http://simplecartjs.org/documentation/setup_initialization

Upvotes: 3

Related Questions