Jump to content

Shopping cart issues!


Recommended Posts

Maybe you removed it from the right column hook (in Modules->Positions), or maybe your new theme doesn't have a right column hook.

Either way, it's impossible to know anything for sure without a link to your site and more information (does it work with the default theme?)

Link to comment
Share on other sites

Thanks for the speedy response :)

The link to my site is www.dressnthecity.com, I did change some things on the Footer.tpl file in the theme folder because I didn't like the position of it (I changed the words 'right' to 'left' but I quickly changed it back to 'right' when it altered more than just the footer) and I think this is impacted the 'shopping cart' and the 'wish list' both of which are activated in modules so they should appear on the homepage- but their not.

This is the coding in the footer tpl file as it is now:

{if !$content_only}


<!-- Right -->


{$HOOK_RIGHT}


<!-- Footer -->
{$HOOK_FOOTER}


{/if}
</body>
</html>

Thanks!
Link to comment
Share on other sites

Just because they appear active on the modules tab, doesn't mean they are actually hooked anywhere.

Your theme doesn't have a right column, at least no visible, so you need to make sure both module are hooked on the left column (in the positions page).

Link to comment
Share on other sites

Hi there,

I changed the Footer tpl to 'LEFT' as suggested, and I tried to HOOK the cart to the left however in MODULES-POSITIONS I'm not able to edit it. I think this may have something to do with the actual GLOBAL CSS of the ELEMENT THEME. I tried to adjust the wish list block as it was misaligned but now neither the wish list or the cart is showing. Am I better off just reinstalling the theme?

Link to comment
Share on other sites

Got my cart back! By using the default code:
{if !$content_only}


<!-- Right -->


{$HOOK_RIGHT_COLUMN}


<!-- Footer -->
{$HOOK_FOOTER}


{/if}
</body>
</html>

I was able to restore the shopping cart, however it is misaligned with categories on the left. This is the code for the cart now:

/* Special style for block cart*/
#cart_block .block_content { padding: 0.2em; font-size:11px;}
#cart_block h4 span{
text-transform:none;
font-size:0.8em;
cursor:pointer;
background-repeat:no-repeat;
background-position:left top;
padding-left:10px;
margin-left:0.2em;
}

#cart_block a {
color:#c74815

}

#cart_block h4 span#block_cart_collapse{ background-image: url('../img/icon/sort_asc_white.gif'); }
#cart_block h4 span#block_cart_expand{ background-image: url('../img/icon/sort_desc_white.gif'); }
#cart_block #cart_block_no_products{ margin: 0.2em 0; background:white }
#cart_block dl dt a, #cart_block dl dt span.quantity-formated {
float: left;
}
#cart_block dl {
font-size: 0.9em;
}

#cart_block dt{
padding-top:0.4em;
height:1.2em;
}
#cart_block dl span.quantity-formated{ padding-right:0.3em; }
#cart_block dt, #cart_block dd{
clear: both;
margin-top:0.2em;
}

#cart_block dt {
width: 175px;
background:white;
padding:0.3em
}

#cart_block dd {
width: 155px;
}

#cart_block dd{ margin-right:1em; font-style:italic; background:white;}
#cart_block dl dt a { font-weight: bold; }
#cart_block a.ajax_cart_block_remove_link {
width:12px;
height:13px;
margin-left:4px;
float:right;
font-size:0;
display:block;
background: transparent url('../img/icon/delete.gif') no-repeat left bottom;
}
#cart_block a.ajax_cart_block_remove_link:hover { text-decoration:none; }
#cart_block p { clear: both; }
#cart_block p span {
clear: right;
float: left;0.2em;
text-align: right;
}
#cart_block li { clear: both; }
#cart_block span.price {
color:black;
float: right;
}
#cart_block dl span.price {
font-weight: normal;
color:#c74815;
float: right;
}
#cart_block_wrapping_cost, #cart_block_shipping_cost , #cart_block_total{ padding-right:1.3em; }
#cart_block table#vouchers {
margin-top:0.5em;
border-top:1px solid white;
height: 3em;
padding-top:0.4em;
margin-bottom:0.5em;
clear:both;
}

#cart_block p#cart-prices {
margin-top:0.5em;
height: 4em;
padding-top:0.4em;
margin-bottom:0.5em;
clear:both;
}
div#cart_block_summary {background:white}

#cart_block p#cart-prices span {
background:white
}

#cart_block table#vouchers td {
padding:0;
border:0;
height:1.5em;
}

#cart_block table#vouchers td.price {
color:white;
font-size:1em;
font-weight:normal;
width:37%;
text-align:right;
}
#cart_block table#vouchers td.delete {
width:9%;
text-align:right;
}

#cart_block table#vouchers td.delete img{
margin:0;
}

#cart_block p#cart-buttons {
height: 1.6em;
margin:0 -0.3em;
}
#cart_block p#cart-buttons a {float:left; padding:3px 5px 0px 15px; color:black; font-weight:bold; background:url(../img/cart-buttons.gif); width:40px; height:20px}
#cart_block p#cart-buttons a#button_order_cart { float:left; width:auto; font-weight:bold; margin-left:30px; background:url(../img/button_order_cart.gif); padding-left:10px; width:72px}

#cart_block .cart_block_customizations {
margin-left: 6px;
list-style-type: square;
}

#cart_block #cart-price-precisions {
margin-top:0.5em;
padding-top: 0.4em;
border-top:1px solid white;
font-size: 0.9em;
height: 2em;
}

Sorry for the length of the email. Any ideas on how I can re-align that or better yet, turn the cart into a button people click on to when they want to review what's in their shopping basket?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...