is it possible to add an in stock image like on this site HERE
if so? how would we achieve it ? and when the item is sold out it would say sold out obviously, i think this would be a great addition to a really great theme like shoppica
-
This reply was modified 4374 days ago by werepair.
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
Hi thanks for the info, it worked a treat , i have made a few modifications, made a vQmod to save editing the core files and making the image square and showing it in-line etc ( see attached image )
now i have it set up to show green for the in stock items is there any way i can make the text “out of stock” show in red coloured back ground instead of green.
best regards
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
thanks for the reply, which file do i need to add the class too
catalog/view/theme/shoppica/template/product/product.tpl
best regards
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
were do i put this code in what file and were ?
<?php if ($stock == 'In Stock'): ?>
<dd class="s_stock_status s_stock_instock"><span><span><?php echo $stock; ?></span></span></dd>
<?php elseif ($stock == 'Out of Stock'): ?>
<dd class="s_stock_status s_stock_outstock"><span><span><?php echo $stock; ?></span></span></dd>
<?php else: ?>
<dd><?php echo $stock; ?></dd>
<?php endif; ?>
best regards
-
This reply was modified 4370 days ago by werepair.
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
Hi i have this working great on my site with your help, however shoppica 2 is using rich snippets, how can i implement this mod to use with your modified product.tpl from this thread http://support.themeburn.com/topic/please-help-to-adapt-small-module
best regards
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
Thankyou very much, its working great.
appreciated.
Best Regards
|
|
Glad we’ve helped, mate
Best,
ThemeBurn team
|
|