fernandokerber Posted August 12, 2012 Share Posted August 12, 2012 (edited) Hi! In Admin/AdminTabs/AdminProducts.php we can find the Duplicate Products function. (To see search for "Product duplication" in AdminProducts.php) first point: I need to run a loop that turn the duplicate function automatic and duplicates (creates from one product) about 20 new products. second point: To duplicate the products image it calls "duplicateProductImages" function in classes/Images.php. Here I want to pass another array with sequencial images: Like: 1.jpg, 2.jpg, 3.jpg, 4.jpg............. 20.jpg Each duplicated product would have one of these sequencial images passed by the array.... I'm lost.... Any tips? In other words: I want to make multiple copies from one product and assign one predefined image to each one respectively. Automatically. (These images would be uploaded to an directory.) I Can't start....... Edited August 13, 2012 by fernandokerber (see edit history) Link to comment Share on other sites More sharing options...
fernandokerber Posted August 13, 2012 Author Share Posted August 13, 2012 well.. I solved my problem using CSV import function.. thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now