Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
charliefoxtrot
charliefoxtrot
Hello,
 
I've noticed that whenever I make a duplicate of an existing product listing, the new (duplicate) listing will be "Available for Sales" and will be displayed for sale in the web store.
 
So, after creating a duplicate listing, I must immediately click "edit" and un-check the "Make Available for Sales" check-box and quickly re-save the record.
 
MY QUESTION: I'd like to make a slight modification to "admin_product.php" so that whenever I make a duplicate of a record, the "Available for Sales" check-box is automatically un-checked... and the new (duplicate) item will only be displayed after I've finished editing the copy and manually check the box.
 
After reviewing the code for "admin_product.php" I can see that I need to modify one (or more) of the statements that writes a value for "is_showing".
 
I assume I need to add a line that will assign a value of "0" to the "is_showing" variable.
 
OR...
 
I need to edit and hard-code an existing line so that "is_showing" will always be written a "0" to the database.
 
Can anyone help?
 
~Charlie
 
PS: I'm using Viart Shop Standard version 3.1
 
Vito
Vito
Hello Charlie,
 
Before pressing 'Duplicate' button just uncheck 'Make Available for Sales' checkbox and duplicated product will not have this option.
 
Thanks,
ViArt Support Team
 
charliefoxtrot
charliefoxtrot
Oh wow! So simple! I did not know that!
 
========================
THANK YOU VERY MUCH!!
========================
 
Charlie