Hi all!
I just noticed, that a cloned product has the same published status as the original product.
This seems to me not very practicable, as normally a 100% clone makes no sense in the shop - usually some modifications are made with a cloned product.
Therefore the clone function should, in my opinion, behave like i.e. cloning Joomla Modules: Being unpublished.
What do you think about that?
Kind regards,
Gerald
+1 from my side.
Yes i agree, it should be unpublished by default.
(And the "product_sales" field should be set to 0 and not be copy from the original?)
Quote(And the "product_sales" field should be set to 0 and not be copy from the original?)
Do you mean the field 'product_ordered'?
There is a new hidden config, called product.published,
just use product.published=0
But is done within 5 minutes and yes I had the same idea some weeks ago.
Quote from: gba on December 01, 2015, 11:07:05 AM
that a cloned product has the same published status as the original product.
This seems to me not very practicable, as normally a 100% clone makes no sense in the shop - usually some modifications are made with a cloned product.
right
Hello
No he means product_sales. I have made this visible in the backend with a override of the Product view. I see that it copies the value from the product that is cloned. In my case it is easy to both correct and see the actual sales figure.
regards
Jörgen @ Kreativ Fotografi
Jörgen product_sales and product_ordered makes only sense together.
Thanks for fixing! :)
@ Milbo
QuoteJörgen product_sales and product_ordered makes only sense together.
Yes I know this, in my case I have all three together in the admin Product Status view and can make an educated evaluation of the sales. But so far when I have cloned a product I inherit an old sales figure. If I later decide use this data in a sql Query I will get the wrong information. Now I can correct the inherited sales and also at a glance see if this is a shelf warmer or a hot selling item. The new configuration setting does not make this totally unneccesary, seeing the sales here is imho a good feature.
Here´s my litte snippet, added to administrato/templates/
isis/html/com_virtuemart/product/product_edit_status.php, approx line 50.
<!-- sales -->
<th style="text-align:right;">
<?php echo vmText::_('COM_VIRTUEMART_PRODUCT_SALES'); ?>
</th>
<td colspan="3">
<input type="text" class="inputbox" name="product_sales" value="<?php echo $this->product->product_sales; ?>" size="3" />
</td>
<!-- end sales -->
I have been using this override since VM 1.1.
My best regards
Jörgen @ Kreativ Fotografi
What worries me about this post is that afaik not one poster is a native English speaker but all posts are grammatically perfect...
Oh .. if only English speakers could write like this....... ;)
Thank You GJC , I think :)
Jörgen @ Kreativ Fotografi
yes. it was a honest compliment to your collective word skills in a 2nd language.. .. impressed :)
OK, GJ, now let's deal with your poor use of punctuation and capitalisation, starting with this lesson from an old friend of mine. http://www.dreaded-apostrophe.com
he he... I never included myself in the praise.. :P
I now pride myself on speaking and writing a sort of NW European gibberish ... having had a good grounding in a 7 house, 1 pub, 1 garage and 1 schoolroom NZ town in the wop wops....
;D