how to create a custom mvc structure in virtuemart - virtuemart

I want to add one more category(import products data ,under orders listing) to the order so that can have its own mvc pattern
any help!

Try this,
For adding new menu on the VM Left menu,
you have to create an entry on #__virtuemart_adminmenuentries
for adding uder products Module Id - 1 and parent Id - 0
Also you have option for adding your view name, and task according to new MVC section.
You can simply create a custom MVC (layouts ) by copying any view + controller+ model if its have tables check the tables folder too and rename it to your view name Then add it on the VM Left Menu.
Hope its helps..

Related

Magento Go - Adding attribute above product description in Grid view

Im wanting to add the Brand name (or designer name in this case which i have made a new attribute for) just above the product description in the Category view (grid) but cant figure it out.
As its Magento Go i have no access to the code, other than XML updates for the category itself.
Ive looked everywhere and would value any help.
Thanks
If you are cant get to the template phtml codes, you can put it on by admin.
Open catalog / attributes / manage attributes, find your attribute and in the properties set to
Visible on Product View Page on Front-end
Used in Product Listing
But it will not be on position you want.
You can edit CSS for the template and set an absolute position for your attribute.
Next way is to add in the admin in category XML layout, but this you need to do for each category. (Custom Layout Update)

How to add category filtering on product list in magento Admin?

I am working on Magento 1.5. I have two main categories in my store lets say Products and Utilities.
Products
- Product 1
- Product 2
Utilities
- Utility 1
- Utility 2
I need to add a dropdown which allows me to filter using these two categories on product list table just like product type dropdown which allows me to filter using product type.
I want to implement in admin Panel. Does any one have any idea?
Please Help...
You can add a drop down in the template with an onChange event bound to changing window.location.href. The destination URLs can be generated in the same was as in the layered navigation (left side in the product list where you can click a category).
Sample URL: /furniture.html?cat=22

Dynamic Joomla Menu depending on the database row

My database is like below
Menu I'm willing to create is as below.
What I want to do is create a Joomla menu as shown above depending on the table rows in a table. If I add a row to the table, automatically menu item should be created.
EG: there are 3 rows in the sports table. So three menu are created as shown.
How can I do it? Given that I know how to retrive data from the database. I can get the list of sports and what I don't know is how to put then as a menu.
Ok, remember that Joomla is a content management system so for things like content and menu items, it's all done through the admin backend.
So, in the admin backend, go to Menu Manager and select the menu you want to add items to. Then create a single menu item called "Sports", and set the type to "text separator". Then create you 3 sub menu items (Sports 1, Sports 2, Sports 3), set the type to whatever you wish, and set the parent to "Sports"
Hope this helps
If you are going the dynamic way then this table might not be sufficient for your menu. You will have to add another column known as Parent which indicates id of parent term.
And you can use jQuery to automatically append data fetched from database to existing menu code on the fly or dynamically.
n the Joomla framework, components are executed using menu items. If
you go in the menu manager of your Joomla installation a HelloWorld
menu item type does not yet exist. Adding this functionality is easy
in Joomla. Simply put a site/views/helloworld/tmpl/default.xml file
containing:
Read more

Magento, hidden products /store view

i have to insert in my store some new products, and i'd like to keep them hidden for users until i have uploaded them all and checked that is all ok.
I think that a hidden store view could be a good solution, but i don't know how to do it. Is possible ? any other solutions ?
thanks!
You can create a new store view by going to System -> Manage Stores. However, you will need to create a new Store Name to be able to assign a different top level category.
Alternatively, create your different Store View and add the new category to the existing structure, setting Is Active to No in Manage Categories. Then choose the new Store View from the dropdown in the top left on the category page, choose the new view, and change Is Active to Yes for that view only.
Does that give you enough of what you need?
Remember, different views and names can be given the same theme too.

Magento - How to Add a custom tab Under Product Information in the Admin panel?

I have been working on a new customization for my magento website. Now i am trying to add a custom tab "Price - Size" with the default tab list. How do i do it? any reference would be helpful..!
Below is the screenshot of what i am expecting to have (I will place some size-pricing information in the main area when user clicks this tab)
Thanks
You can do by attributes, like the following.
Go to Catalog -> Attributes -> Manage Attributes Set
Add new attribute set based "Default"
Go to Manage Attributes
Add new Attributes
Give unique attribute code and fill other necessary fields.
Click "Manage Label / Options", fill labels what you want.
Go to Catalog -> Attributes -> Manage Attributes set, then click the new created set.
Add new "Group", give a proper name.
Select attribute that you want to attach this created new group from right panel ( drag and drop on the new group )
Create new product, select the attribute that you created a few seconds ago.
The finally, you will new attribute in the product page left sidebar.

Resources