News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

copy/cloning products VM2 simular to extended lay-out VM1.1

Started by Doggiefield, February 15, 2012, 00:14:39 AM

Previous topic - Next topic

Doggiefield

I am busy to migrate the old site Joomla 1.5.23 and VM 1.1.3 to the newer version.
It looks very promising and I have problems with the old VM so I thought it is time to be up-to-date.

One thing that is important for me is an easy product creation. For example If there is a new inkpad on the market it has 36 different colors.
Now I use the extended layout in the old VM. When I copy a product it opens in a new tab and I can change the article number, name and picture and click on "save" . A pop-up tells me the product is saved and I can change the number, name and picture again.

Cloning looks similar but after cloning a product is is saved somewhere in the list of products. When I have found this product I have to edit the product and save and close it. This takes a lot of time. We have 3000 products in our store and are expanding rapidly.

I hope you understand what I mean  ???

Is there a way to do this more efficient in VM2.0?
Point of sale for Virtuemart
https://www.posforwebshops.com

Bauke

Joomla 2.5 uses the save2new task for articles. This would be a great addition to VM2.

Because i also needed this function i made a smal hack (just temporary until VM supports it)
It will make the 'save'-button act as a save2new button and clone the product.

In 'administrator/components/com_virtuemart/controllers/product.php' add on line 61:
(virtuemart 2.0.2)

    if(JRequest::getCmd('task') == 'apply'){
        $data['virtuemart_product_id'] = '';
    }


The save&close button will still act as normal.

I'ts a temprorary fix, I wouldn't recommend this for a production site.



Doggiefield

#2
Hi Bauke,

Thanks I think this will work as a workaroumd for my problem.
But can someone tell me if something like this is planned as new feature in VM2.

Thanks again
Point of sale for Virtuemart
https://www.posforwebshops.com

Doggiefield

Does anybody know if this is something that can/will be implemented in VM2 in the future ?
Point of sale for Virtuemart
https://www.posforwebshops.com