PDA

View Full Version : Suggestions for Miva Merchant 5 & SMT


Dar-us-Salam.com
06-07-06, 11:48 PM
While working with transferring my store from Miva Merchant 4 to Ver 5 I have come across several things that could be improved. If the feature is already available then please let me know otherwise I would suggest Miva staff to incorporate them.

1) There should be a command to combine multiple ?Mvt:If? statements as that would make the code shorter and easier for the user to program. Currently we have to write multiple statements and then keep track of ending each one.

For example:

<mvt:if expr="l.settings:product:inv_active">
<mvt:if expr="l.settings:product:inv_level EQ 'out'">
OUT OF STOCK </mvt:if></mvt:if>


could be combined like such:
<mvt:if expr="l.settings:product:inv_active AND l.settings:product:inv_level EQ 'out'">
OUT OF STOCK </mvt:if>

The statement could be combined with 'AND' or 'OR'.


2) There should also be a editable template in which we can write HTML/MVT and use that code snippet within other pages. For example we can write the code for an HTML table and then use a variable to call it in place of the Left Navigation column. Currently we have to update all the Category/Product/Store... pages individually for a single change or update in the Left Navigation column.

There is a way to call up ITEMS within the code but I couldn't find any way to create and write code in the ITEM as they are added only by modules.


3) The Version History is very useful but there should be a way to delete the points which are not needed. Currently there is only option to clear all except for the current and the original. There should be option to choose only the important step points to keep and to discard the rest. There is no use in keeping small incremental changes. This would make it easier to search for an important point and to go back.

Thanks for your time.

Leanne
06-08-06, 04:26 PM
1) There should be a command to combine multiple ?Mvt:If? statements as that would make the code shorter and easier for the user to program. Currently we have to write multiple statements and then keep track of ending each one.

For example:

<mvt:if expr="l.settings:product:inv_active">
<mvt:if expr="l.settings:product:inv_level EQ 'out'">
OUT OF STOCK </mvt:if></mvt:if>


could be combined like such:
<mvt:if expr="l.settings:product:inv_active AND l.settings:product:inv_level EQ 'out'">
OUT OF STOCK </mvt:if>

The statement could be combined with 'AND' or 'OR'.


Try something like this:

<mvt:if expr="((l.settings:product:inv_active) AND (l.settings:product:inv_level EQ 'out'))"

Bruce - PhosphorMedia
06-08-06, 05:48 PM
For #2, there is This Module (http://www.mivacentral.com/Merchant2/merchant.mv?Screen=PROD&Store_Code=m&Product_Code=GILL-GOLPD&Category_Code=&Search=GOL&Search_Type=AND&Offset=6)...

But yea, #3 is a good idea....

jason - jmh web services
06-08-06, 06:43 PM
2) There should also be a editable template in which we can write HTML/MVT and use that code snippet within other pages. For example we can write the code for an HTML table and then use a variable to call it in place of the Left Navigation column. Currently we have to update all the Category/Product/Store... pages individually for a single change or update in the Left Navigation column.

There is a way to call up ITEMS within the code but I couldn't find any way to create and write code in the ITEM as they are added only by modules.


Checkout wow wow widgets for v5 from latu (http://www.jmhonline.net/miva-modules/wow+widgets).

jason