Skip to content

Commit

Permalink
Adding a temporary hard-coded 'order' button to the product page.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwanberg committed Jul 20, 2017
1 parent be737b9 commit 1753c01
Showing 1 changed file with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php

/**
* @file
* Display Suite fluid 2 column stacked template.
*/

// Add sidebar classes so that we can apply the correct width in css.
if (($left && !$right) || ($right && !$left)) {
$classes .= ' group-one-column';
}
?>
<<?php print $layout_wrapper; print $layout_attributes; ?> class="ds-2col-stacked-fluid <?php print $classes;?> clearfix">

<?php if (isset($title_suffix['contextual_links'])): ?>
<?php print render($title_suffix['contextual_links']); ?>
<?php endif; ?>

<<?php print $header_wrapper ?> class="group-header<?php print $header_classes; ?>">
<?php print $header; ?>
</<?php print $header_wrapper ?>>

<?php if ($left): ?>
<<?php print $left_wrapper ?> class="group-left<?php print $left_classes; ?>">
<?php print $left; ?>
</<?php print $left_wrapper ?>>
<?php endif; ?>

<?php if ($right): ?>
<<?php print $right_wrapper ?> class="group-right<?php print $right_classes; ?>">
<?php print $right; ?>
<a href="/node/4764" class="button--alt-order">Order</a>
</<?php print $right_wrapper ?>>
<?php endif; ?>

<<?php print $footer_wrapper ?> class="group-footer<?php print $footer_classes; ?>">
<?php print $footer; ?>
</<?php print $footer_wrapper ?>>

</<?php print $layout_wrapper ?>>

<?php if (!empty($drupal_render_children)): ?>
<?php print $drupal_render_children ?>
<?php endif; ?>

0 comments on commit 1753c01

Please sign in to comment.