wishlist integration in joomla - joomla

I am somewhat of newbeeeee to the whole Joomla/Virtuemart world. I am trying to implement "my wishlist" module in my joomla 1.5.26 . I have searched in google also but its not free.
My logic is like:
I have a list of products, along with button "add to wish list". If a registered user click on that button then that product id and category id have been saved in jos_user table, where I have added one new field called "wishlist".
Now up to this is okay. Now problem is to fetch those product in one page(lets say page name is my wish list), which are only in that list. Is there any file where I can change the query for that particular page(my wish list). If so please help me. Its urgent.
Thanks in advance.

If your wish list is a module rather than a component, then finding the required file to change the code shouldn't be too hard. I'm not quite sure on the file structure, but it will most likely be in something like helper.php

Related

Observer on Product saving for name appending

I am creating a small module. In which I have built my own tab in System- Configuration, Name "ZARA" which consists of a textbox. I can enter words in the textbox and save the configuration.
Question
Now my problem is, I want that the module should append the word entered in the configuration to the product name through an observer whenever a product is saved.
for example, I entered "Test" as a word in the configuration. I then open a product in the backend in product management, which is called "RedShirt". When I save this now, it's called "RedShirtTest". If I save it again, it's called "RedShirtTestTest". Thank you in advance if anybody can clear my issue. I'm totally new to Magento. Please answer regarding Magento 1.9.

Magento, add some text beside item title

I am new to Magento but willing to learn. :)
For the current project we need to add the Serial number next to the purchased item. Serial should be added in the invoice (PDF and html). It doesn't need to be new field, it is enough to add it next to the item name, or under it.
I have the serial number already saved in the DB, so the only thing I need is to find the html file to modify and there call the SQL statement to get the serial.
Please I could really use any help where to locate that file and what to change.
Thank you!
Try template/sales/order/invoice/items/renderer/default.phtml for frontend display
The template folder can be either in /app/design/frontend/base/default/ or in the package/theme folder of your store.
For backend display use /app/design/adminhtml/default/default/template/sales/order/invoice/view/items/renderer/ folder, which contains two template files: configurable.phtml for configurable type products, and default.phtml, for other types

creating a dropdown list module in joomla

I am new to joomla and doing a project in joomla for the very first time so i need help from you. I want a drop down list in which there will be districts of my country Nepal, and when anybody selects any district then the description of that district will be displayed in the bottom of the drop down list. And I am confused that where can I get such module or if I have to make such module then how can I do it on my own.
You are in luck. This module does exactly what you need. The code is not packaged for distrbution yet, but you can register for the site and request a copy of the code -
http://bgies.com/index.php/joomla-extensions/7-joomla-country-state-extension.html

Magento Custom Field Defines Product

I am running a Magento store where someone can buy a personalized item with their name on it. Under the product, you see "Name:" with an input box where they can fill out their name. They click "Add to Cart", it ads it, I fill the order and everyone's happy.
But, in order to purchase another product with a different name, they have to go from the cart back to the product. Its a mess.
I'd like there to be a button under the "Name" field that says "Add Another". Upon click, it pulls down another field for "Name:". Now we see two name fields, I add "John" and "Joe" in the first and second fields, then click "Add to Cart".
In my cart, I now see two products added. One with Johns Name, and one with Joes.
Any and all help is greatly appreciated. I'm a Wordpress guy trying to figure out Magento!
This is not really a simple addition, but basically you'll need to modify app/code/core/Checkout/controllers/CartController.php to call addProduct for each of the items in the form. This isn't really a trivial change, as you'll have to rip apart that method to make it load the products in sequence.
Another approach would be to use an event (such as checkout_cart_product_add_after) to keep track of when an item is added and see if extra parameters were passed, adding more items as necessary.
Alternatively, you may be able to use related products to accomplish this (since they are added to the cart as well). I haven't looked at how to approach that one, but it may be worth a look.
Hope that helps!
Thanks,
Joe

Magento admin section

Hai
In my magneto project, admin side invoices, I want to display the product name, sku and
manufactures, is it possible???
I know that when clicking View Link I can show, but I want to show the details in the table in the invoices page
Probably the best place to start is:
/app/design/adminhtml/default/default/tempalte/sales/order/invoice/view/
Everything within the /app/design/adminhtml/ is where you'll want to go to edit any available templates for the backend.
Remember that Magento is full of magic methods. So, often times if you want to output a particular attribute, simply call something like: echo $_item->getManufacturer();
Hope that helps.

Resources