php js css php js css

Changes

Changes to Product: y7FriCBD [ 2019 - Term 1 ]

16583
Today 7:07am
Vendeville, Mathieu
Modified product
Can't Undo: The product 21 does not currently exist, it may have been moved or deleted. In order to undo this change, you first need to restore the product
40746
Today 7:07am
System
Deleted product
Deleted Datetime:
Id:
21
21
Title:
Year 7
Year 7
Price Base:
310.0000
310.0000
Order:
0
0
Content:
<style type="text/css">
.marginTop10 { margin-top: 10px; }
#recommended_material_container > div { box-shadow: 0 0px 10px rgba(0,0,0,0.15); border: 1px solid #ddd; margin: 10px; padding: 5px; }
#required_material_container > div { box-shadow: 0 0px 10px rgba(0,0,0,0.15); border: 1px solid #ddd; margin: 10px; padding: 5px; }
.materialImage { float: left; margin-right: 5px; }
.materialPrice { float: right; font-weight: bold; }
.materialTitle { font-weight: bold; margin-bottom: 5px; }
.hasPicture { margin-left: 90px; }
</style>

<ss:logic:variable as="course" value="\Components\AF\Courses\CollectiveCourses::getCourseFromProductId($product['product_id'])" parsenow="value" />

[? \Components\AF\Courses\CollectiveCourses::renderProductDescriptionTable($course) ?]

<ss:logic:if test="strlen($course['course_comment'])">
<div style="color: #b00;" class="marginTop10">
Note: [? $course['course_comment'] ?]
</div>
</ss:logic:if>

<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'membership_may_be_required')">
<ss:logic:if test="\Components\Commerce\Products::getColumn($course['product_id'], 'product_requires_membership')">
<div style="color: #b00;" class="marginTop10">
A valid membership is required in order to enroll in this course
</div>
</ss:logic:if>
</ss:logic:if>

<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'registration_fee_may_be_required')">
<ss:logic:if test="$course['course_requires_registrationfee']">
<div style="color: #b00;" class="marginTop10">
A valid registration fee is required in order to enroll in this course
<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'registration_fee_members_exempted')">
(members are exempt).
</ss:logic:if>
</div>
</ss:logic:if>
</ss:logic:if>

<ss:logic:variable as="course_levels" value="\Components\AF\Courses\Levels::getAllLevelIdsForCourse($course['course_id'])" parsenow="value" />

<ss:logic:if test="strlen($course['course_objectives'])">
<div class="marginTop10">
<strong>Objectives</strong><br />
<ss:logic:parse parsenow="text" text="$course['course_objectives']" />

<div style="clear: both;"></div>
</div>
</ss:logic:if>
<ss:logic:else test="count($course_levels)">
<ss:logic:variable as="level" value="\Components\AF\Courses\Configuration\Levels::get($course_levels[0])" parsenow="value" />

<ss:logic:if test="$level['level_objectives']">
<div class="marginTop10">
<strong>Objectives</strong><br />
<ss:logic:parse parsenow="text" text="$level['level_objectives']" />

<div style="clear: both;"></div>
</div>
</ss:logic:if>
</ss:logic:else>

<ss:logic:variable as="books_required" value="\Components\AF\Courses\Books::getAllRequiredForCourse($course['course_id'], true)" parsenow="value" />
<ss:logic:variable as="books_recommended" value="\Components\AF\Courses\Books::getAllRecommendedForCourse($course['course_id'], true)" parsenow="value" />

<ss:logic:if test="count($books_required) || count($books_recommended)">
<div class="marginTop10">

<ss:logic:if test="count($books_required)">
<strong>Required Course Material</strong>
<div id="required_material_container">
<ss:data:repeater as="book" datasource="$books_required">
<div>
<div class="materialImage">
<ss:logic:if test="$book['product_icon']">
<ss:standard:image src="'/media/commerce_products/' + $book['product_id'] + '/' + $book['product_icon']" parsenow="src" width="80" />
</ss:logic:if>
</div>
<div class="materialPrice">[? formatCurrency($book['product_price_base']) ?]</div>
<div class="materialTitle[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_title'] ?]</div>
<div class="materialDescription[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_content'] ?]</div>
<div style="clear: both;">&nbsp;</div>
</div>
</ss:data:repeater>
</div>
</ss:logic:if>

<ss:logic:if test="count($books_recommended)">

<ss:logic:if test="count($books_required)">
<br />
</ss:logic:if>

<strong>[? \Components\AF\Courses\CollectiveCourses::configGetValue('recommended_course_material_title') ?]</strong>
<div id="recommended_material_container">
<ss:data:repeater as="book" datasource="$books_recommended">
<div>
<div class="materialImage">
<ss:logic:if test="$book['product_icon']">
<ss:standard:image src="'/media/commerce_products/' + $book['product_id'] + '/' + $book['product_icon']" parsenow="src" width="80" />
</ss:logic:if>
</div>
<div class="materialPrice">[? formatCurrency($book['product_price_base']) ?]</div>
<div class="materialTitle[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_title'] ?]</div>
<div class="materialDescription[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_content'] ?]</div>
<div style="clear: both;">&nbsp;</div>
</div>
</ss:data:repeater>
</div>
</ss:logic:if>
</div>
</ss:logic:if>
<style type="text/css">
.marginTop10 { margin-top: 10px; }
#recommended_material_container > div { box-shadow: 0 0px 10px rgba(0,0,0,0.15); border: 1px solid #ddd; margin: 10px; padding: 5px; }
#required_material_container > div { box-shadow: 0 0px 10px rgba(0,0,0,0.15); border: 1px solid #ddd; margin: 10px; padding: 5px; }
.materialImage { float: left; margin-right: 5px; }
.materialPrice { float: right; font-weight: bold; }
.materialTitle { font-weight: bold; margin-bottom: 5px; }
.hasPicture { margin-left: 90px; }
</style>

<ss:logic:variable as="course" value="\Components\AF\Courses\CollectiveCourses::getCourseFromProductId($product['product_id'])" parsenow="value" />

[? \Components\AF\Courses\CollectiveCourses::renderProductDescriptionTable($course) ?]

<ss:logic:if test="strlen($course['course_comment'])">
<div style="color: #b00;" class="marginTop10">
Note: [? $course['course_comment'] ?]
</div>
</ss:logic:if>

<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'membership_may_be_required')">
<ss:logic:if test="\Components\Commerce\Products::getColumn($course['product_id'], 'product_requires_membership')">
<div style="color: #b00;" class="marginTop10">
A valid membership is required in order to enroll in this course
</div>
</ss:logic:if>
</ss:logic:if>

<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'registration_fee_may_be_required')">
<ss:logic:if test="$course['course_requires_registrationfee']">
<div style="color: #b00;" class="marginTop10">
A valid registration fee is required in order to enroll in this course
<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'registration_fee_members_exempted')">
(members are exempt).
</ss:logic:if>
</div>
</ss:logic:if>
</ss:logic:if>

<ss:logic:variable as="course_levels" value="\Components\AF\Courses\Levels::getAllLevelIdsForCourse($course['course_id'])" parsenow="value" />

<ss:logic:if test="strlen($course['course_objectives'])">
<div class="marginTop10">
<strong>Objectives</strong><br />
<ss:logic:parse parsenow="text" text="$course['course_objectives']" />

<div style="clear: both;"></div>
</div>
</ss:logic:if>
<ss:logic:else test="count($course_levels)">
<ss:logic:variable as="level" value="\Components\AF\Courses\Configuration\Levels::get($course_levels[0])" parsenow="value" />

<ss:logic:if test="$level['level_objectives']">
<div class="marginTop10">
<strong>Objectives</strong><br />
<ss:logic:parse parsenow="text" text="$level['level_objectives']" />

<div style="clear: both;"></div>
</div>
</ss:logic:if>
</ss:logic:else>

<ss:logic:variable as="books_required" value="\Components\AF\Courses\Books::getAllRequiredForCourse($course['course_id'], true)" parsenow="value" />
<ss:logic:variable as="books_recommended" value="\Components\AF\Courses\Books::getAllRecommendedForCourse($course['course_id'], true)" parsenow="value" />

<ss:logic:if test="count($books_required) || count($books_recommended)">
<div class="marginTop10">

<ss:logic:if test="count($books_required)">
<strong>Required Course Material</strong>
<div id="required_material_container">
<ss:data:repeater as="book" datasource="$books_required">
<div>
<div class="materialImage">
<ss:logic:if test="$book['product_icon']">
<ss:standard:image src="'/media/commerce_products/' + $book['product_id'] + '/' + $book['product_icon']" parsenow="src" width="80" />
</ss:logic:if>
</div>
<div class="materialPrice">[? formatCurrency($book['product_price_base']) ?]</div>
<div class="materialTitle[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_title'] ?]</div>
<div class="materialDescription[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_content'] ?]</div>
<div style="clear: both;">&nbsp;</div>
</div>
</ss:data:repeater>
</div>
</ss:logic:if>

<ss:logic:if test="count($books_recommended)">

<ss:logic:if test="count($books_required)">
<br />
</ss:logic:if>

<strong>[? \Components\AF\Courses\CollectiveCourses::configGetValue('recommended_course_material_title') ?]</strong>
<div id="recommended_material_container">
<ss:data:repeater as="book" datasource="$books_recommended">
<div>
<div class="materialImage">
<ss:logic:if test="$book['product_icon']">
<ss:standard:image src="'/media/commerce_products/' + $book['product_id'] + '/' + $book['product_icon']" parsenow="src" width="80" />
</ss:logic:if>
</div>
<div class="materialPrice">[? formatCurrency($book['product_price_base']) ?]</div>
<div class="materialTitle[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_title'] ?]</div>
<div class="materialDescription[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_content'] ?]</div>
<div style="clear: both;">&nbsp;</div>
</div>
</ss:data:repeater>
</div>
</ss:logic:if>
</div>
</ss:logic:if>
Order Form:

															

														
Is Offline:
0
0
Is Unorderable:
0
0
Is Orderable For Someone Else:
1
1
Disables Guest Checkout:
0
0
Code:
y7FriCBD 2019
y7FriCBD 2019
Barcode:

															

														
Sales Description:

															

														
Order Options:

															

														
Is Shipping Required:
0
0
Shipping Width Mm:

															

														
Shipping Height Mm:

															

														
Shipping Depth Mm:

															

														
Shipping Weight G:

															

														
Inventory Is Public:
0
0
Inventory Is Unorderable Sold Out:
1
1
Inventory Warning Level:

															

														
Inventory Purchase Cost:

															

														
Brand Id:
1
1
Group Pricing Visibility:

															

														
Group Pricing Adjustments Base:

															

														
Group Pricing Show Adjustments:

															

														
Group Pricing Show Normal:

															

														
Group Pricing Show Adjustments Labels:

															

														
Group Pricing Show Normal Labels:

															

														
Max Quantity:
1
1
Min Quantity:

															

														
Uri Suffix:
af-year-7-y7fricbd-2019
af-year-7-y7fricbd-2019
Uri Suffix Is Overriden:
0
0
Search Keywords:
year 7, course, product, book, title, required, material, content, base, price, formatcurrency, objectives, order, enroll, valid, comment, exempt, members, fee, registration, membership, configgetvalue, recommended
year 7, course, product, book, title, required, material, content, base, price, formatcurrency, objectives, order, enroll, valid, comment, exempt, members, fee, registration, membership, configgetvalue, recommended
Search Keywords Is Overriden:
0
0
Search Description:
[? \Components\AF\Courses\CollectiveCourses::renderProductDescriptionTable($course) ?]      	  		Note: [? $course['course_comment'] ?]  	        	  		  			A valid membership is required in order to enroll in this course  		  	        	  		  			A valid reg
[? \Components\AF\Courses\CollectiveCourses::renderProductDescriptionTable($course) ?]      	  		Note: [? $course['course_comment'] ?]  	        	  		  			A valid membership is required in order to enroll in this course  		  	        	  		  			A valid reg
Search Description Is Overriden:
0
0
Requires Membership:
0
0
Duration: