Skip to content

Instantly share code, notes, and snippets.

@furahaclothing
Created February 5, 2013 10:01
Show Gist options
  • Save furahaclothing/4713447 to your computer and use it in GitHub Desktop.
Save furahaclothing/4713447 to your computer and use it in GitHub Desktop.
welcartで(商品やカテゴリー)一覧で金額の部分に SOLDを出す
<?php if (usces_is_skus()) : usces_have_skus()?>
<?php if ( 'SOLD' == usces_the_itemZaiko('return')): ?>
<div class="price"><?php usces_the_itemZaiko(); ?></div>
<?php else: ?>
<div class="price"><?php _e('$', 'usces'); ?><?php usces_the_firstPrice(); ?><?php usces_guid_tax(); ?></div>
<?php endif; ?>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment