News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Storefront icon for extension

Started by quekbhj, November 11, 2013, 04:02:51 AM

Previous topic - Next topic

quekbhj

Hi

I have uploaded an icon for one of the extension -- "weight based shipping" under "Storefront Icon".
However this shipping icon doesn't display at checkout shipping selection.
Please advise.

Note: I am using template_ac548. Will this template cause this issue?

Regards
Jasmine

abantecart

This template is older and does not support storefront icons.

You can try to add code from default template file.

edit:
extensions/template548/storefront/view/template548/template/pages/checkout/shipping.tpl

Locate:

                                <td><?php echo $quote['radio']; ?></td>
                                <td><label for="shipping_shipping_method<?php echo $quote['id']; ?>" style="cursor: pointer;"><?php echo $quote
['title']; ?>



ADD

<?php $icon $shipping_method['icon'];
if ( count ($icon) ) {  ?>

<?php if ( is_file(DIR_RESOURCE $icon['image']) ) { ?>
<span class="shipping_icon mr10"><img src="resources/<?php echo $icon['image']; ?>" title="<?php echo $icon['title']; ?>" /></span>
<?php } else if (!empty( $icon['resource_code'] )) { ?>
<span class="shipping_icon mr10"><?php echo $icon['resource_code']; ?></span>
<?php } } ?>
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

quekbhj

Hi

Thank you for providing the code.

How do I get the shipper's logo to appear for the respectively shipping option?

Regards

abantecart

#3
I am not sure I get this. There is a icon per shipping method. Do you need Icons inside the shipping method itself?
This will require some development.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

quekbhj

Hi

Enclosed a screenshot for your reference.
Currently the "Singpost" logo is the same level as the store logo.

Is it doable to have "Singpost" logo at the "Weight Based Shipping"?

Another question, I would like to change the description "Pickup From Store". Where can I change it?

Thank you
Jasmine


Forum Rules Code of conduct
AbanteCart.com 2010 -