|
1
|
<?php |
|
2
|
$product = sc_get_product(); |
|
3
|
|
|
4
|
// make sure we have the product and variants. |
|
5
|
if ( empty( $product ) || empty( $product->variants->data ) ) { |
|
6
|
return null; |
|
7
|
} |
|
8
|
|
|
9
|
$separator = isset( $attributes['separator'] ) ? $attributes['separator'] : ' / '; |
|
10
|
|
|
11
|
return 'file:./view.php'; |
|
12
|
|