Hello,
I would like to know if it is possible to change the products features organization on the customers page?
For example: Normally you have “In stock” and bellow “Quantity” and I would like to change the order and have the “Quantity” first, then “In stock” bellow.
Can I do it?
Many thanks
I already managed to find out how to do it, so if there is anyone with the same problem this is the solucion.
Problem: You want to change the order that product's options are showed.
Solution:
skins[COSTUMER TEMPLATE]\customer\blocks\product_templates[TEMPLATE YOU ARE USING].tpl
In my case was: skins\electro\customer\blocks\product_templates\modern_template.tpl and
skins\electro\customer\blocks\product_templates\modern_long_options_template.tpl
Then go to the line 69 and you have all product options and you just have to change the code order.
```php
{if $capture_options_vs_qty}{capture name="product_options"}{/if}
{assign var="product_options" value="product_options_`$obj_id`"}
{$smarty.capture.$product_options}
{assign var="qty" value="qty_`$obj_id`"}
{$smarty.capture.$qty}
{assign var="advanced_options" value="advanced_options_`$obj_id`"}
{$smarty.capture.$advanced_options}
{if $capture_options_vs_qty}{/capture}{/if}
{assign var="min_qty" value="min_qty_`$obj_id`"}
{$smarty.capture.$min_qty}
{assign var="product_edp" value="product_edp_`$obj_id`"}
{$smarty.capture.$product_edp}
```
If you want to show the advanced options above the quantity you just have to swap the code, like this:
```php
{if $capture_options_vs_qty}{capture name="product_options"}{/if}
{assign var="product_options" value="product_options_`$obj_id`"}
{$smarty.capture.$product_options}
{assign var="advanced_options" value="advanced_options_`$obj_id`"}
{$smarty.capture.$advanced_options}
{assign var="qty" value="qty_`$obj_id`"}
{$smarty.capture.$qty}
{if $capture_options_vs_qty}{/capture}{/if}
{assign var="min_qty" value="min_qty_`$obj_id`"}
{$smarty.capture.$min_qty}
{assign var="product_edp" value="product_edp_`$obj_id`"}
{$smarty.capture.$product_edp}
```
Thanks for posting your solution!
[font=“Verdana”]Great work MIGUEL!
Question?
Will this allow me, or what would i need to change, so that I could:
- Display the content from the “Product Features” tab within the area to the right of the product image?
Example:
[quote]- Material: 75% Cotton 25% Something,
-
Sizes: 2XS - 2XL,
-
Minimum Order: 25 Items,
-
Other: Some details here.
[/quote]
Thank you ver much!
v2.2.1 Professional (Scared to upgrade!)[/font]