What image sizes should I use under System -> Settings -> Image when I use 1.5.1.3 version of OpenCart?
Popular questions for this item
Where do I edit the “why choose us” and the payment methods icons?
It’s a static part of website and it’s inside:
catalog/view/theme/vanityshop/template/common/footer.tpl
What are the dimensions of the background image on the live demo?
It’s 1600×1200
How to remove “Shopping Cart: 0 item(s) – $0.00” from the top of the website?
catalog/view/theme/vanityshop/template/common/header.tpl
and remove this code lines:
<div id="cart-widget"> <a class="link" href="<?php echo $cart; ?>"><?php echo $text_cart; ?>:</a> <span class="toolbar-cart-count"><span id="cart_total"><?php echo $text_items; ?></span></span> </div><!--cart-widget ends-->
How to remove the ribbon from featured products?
Open:
catalog/view/theme/vanityshop/template/module/featured.tpland remove this 2 code lines:
<span class="box-star"> ... </span><!--box-star-->
I have non-english website and there is a problem with coding the last glyph on the Special module.
Open following file:
catalog/view/theme/vanityshop/template/module/special.tplReplace:
substr( $product['name'],0,7 )for:
mb_substr($product['name'], 0, 7, 'UTF-8')
I can’t share product images on Facebook?
Is there a way to get the star-ribbon ‘box-star’ to display only on the specials? I took it off the featured images and want to display it on the specials, but not sure how?
catalog/view/theme/vanityshop/template/module/featured.tpl
and replace following code:
<span class="box-star"> ... </span><!--box-star-->
for:
<?php if ($product['special']) { ?><span class="box-star"><?php } ?> ... <?php if ($product['special']) { ?></span><!--box-star--><?php } ?>You should make the same changes on:
catalog/view/theme/vanityshop/template/product/category.tpl catalog/view/theme/vanityshop/template/product/manufacturer_info.tpl catalog/view/theme/vanityshop/template/product/search.tpl catalog/view/theme/vanityshop/template/product/special.tpl
I want to remove right column on the single product page and make it full width?
<?php echo $column_right; ?>
now open stylesheet.css
and remove:
, #product-product #container
From the following code lines:
#account-account #container, #account-address_form #container, #account-address_list #container, #account-address #container, #account-address-insert #container, #account-download #container, #account-edit #container, #account-forgotten #container, #account-login #container, #account-newsletter #container, #account-order #container, #account-order-info #container, #account-password #container, #account-register #container, #account-return #container, #account-return #container, #account-return-insert #container, #account-return #container, #account-reward #container, #account-transaction #container, #account-wishlist #container, #product-product #container, #affiliate-login #container, #affiliate-register #container, #affiliate-account #container, #affiliate-edit #container, #affiliate-password #container, #affiliate-payment #container, #affiliate-tracking #container, #affiliate-transaction #container, #product-product #container { background-image:url("../image/bg-container.png"); }
#account-account #content, #account-address_form #content, #account-address_list #content, #account-address #content, #account-address-insert #content, #account-download #content, #account-edit #content, #account-forgotten #content, #account-login #content, #account-newsletter #content, #account-order #content, #account-order-info #content, #account-password #content, #account-register #content, #account-return #content, #account-return #content, #account-return-insert #content, #account-return #content, #account-reward #content, #account-transaction #content, #account-wishlist #content, #product-product #content, #affiliate-login #content, #affiliate-register #content, #affiliate-account #content, #affiliate-edit #content, #affiliate-password #content, #affiliate-payment #content, #affiliate-tracking #content, #affiliate-transaction #content { width:610px; padding:0 0 7px 0px; }increase width for the following selectors:
.product-info .image a .product-info .image-additional .product-info .image-additional .small-image a .product-info .options .option .productcol
I have 7-digit price and it looks like there is no enough space. How do decrease font size for price on the single product page or just remove decimals?
.product-info .price-amount { font-size: 26px; padding-top:4px; }
or hide decimals under currency settings
I would like to change “Purchase” button to “Enquire Now”. How to do it?
You should open following file:
catalog/view/theme/vanityshop/template/product/product.tpl
...and replace following code:
<div class="quantity"><?php echo $text_qty; ?> <input type="text" name="quantity" size="2" value="<?php echo $minimum; ?>" /> <input type="hidden" name="product_id" size="2" value="<?php echo $product_id; ?>" /></div> <input type="button" value="<?php echo $button_cart; ?>" id="button-cart" class="button" /> <div class="clear" /> <?php if ($minimum > 1) { ?> <div class="minimum"><?php echo $text_minimum; ?></div> <?php } ?>
...for something like that:
<a href="http://www.diaboliquedesign.com/demo/vanityoc/index.php?route=information/contact" class="button">Enquire Now</a>
Of course you should change this link:
http://www.diaboliquedesign.com/demo/vanityoc/index.php?route=information/contact
I would like to remove to “reward poinds” text, how can I do it?
Open:
catalog/view/theme/vanityshop/template/product/product.tpl
...and remove following code line:
<li><span><b><?php echo $text_reward; ?></b></span> <?php echo $reward; ?></li>
Howe to display the special price and original price crossed out in the black ribbon on the product page?
<span class="price-new"><?php echo $product['special']; ?></span>in the following files:
catalog/view/theme/vanityshop/template/module/featured.tpl catalog/view/theme/vanityshop/template/product/category.tpl catalog/view/theme/vanityshop/template/product/manufacturer_info.tpl catalog/view/theme/vanityshop/template/product/search.tpl catalog/view/theme/vanityshop/template/product/special.tpl
Open stylesheet.css and add it to the stylesheet.css:
.price-old { text-decoration: line-through; }
Contact the author
This author will respond to buyers' questions and provides limited support through their own support system.
Item support includes:
However, item support does not include:
View the item support policy