',
$image['url'], $image['alt'], 418
);
else :
printf(
'

',
get_template_directory_uri() . '/public/images/image-not-available.jpg',
__('Image not available', 'ssdma'), 400, 300
);
endif;
?>
$img ) {
if( $k == 3 ) continue;
$class = $k == 0 ? 'b-product_preview__item_first' : '';
printf(
'
',
$class, $img['url'], 220, $img['alt']
);
}
?>
getRating();
$int = intval($ratings);
$ratings = ($ratings == 0.0 || $int == 0) ? mt_rand(3, 5) : $ratings;
$quantity = ( $info->getQuantity() == 0 ) ?
sprintf('
%s
', __('Availability: in stock', 'ssdma')) :
sprintf('
%s
', __('Availability: out of stock', 'ssdma'));
foreach ( ssdma_rating($ratings) as $star ) {
$class = !$star ? '-empty' : '';
printf('
', $class);
}
echo ssdma_rating_percentage( $ratings ) . ' % ';
_e('of buyers enjoyed this product!', 'ssdma');
echo $quantity;
?>
getSKU();?>
getPrice());
$sale = aliprice_get_price($info->getSalePrice());
$timer = aliprice_get_timer($info->getTimeLeft());
$todays = (get_option('aliprice-todaysdeal')) ? get_option('aliprice-todaysdeal') : '';
$hotdeal = (get_option('aliprice-hotdeal')) ? get_option('aliprice-hotdeal') : '';
if( $hotdeal == 1 )
$timer = aliprice_get_timer();
if( $timer && $price && $sale && $price != $sale && ($todays == 1 || $hotdeal == 1 ) ) {
?>
:
:
:
/ getPackageType(); ?>
:
/ getPackageType(); ?>
:
/ getPackageType(); ?>
:
/ getPackageType(); ?>
ssdma_buynow;
$Buynow_text = $ali2->ssdma_buynow_text;
$btn_text = ($Buynow && $Buynow != '') ? $Buynow : __( 'Order Now', 'ssdma' );
$buy_now_txt = ($Buynow_text && $Buynow_text != '') ? $Buynow_text :
__( 'from AliExpress', 'ssdma' );
?>
getStoreUrl();
// $sname = $info->getStoreName();
// if ( $surl && $sname ): ?>