Skip to content

Instantly share code, notes, and snippets.

@ChasManRors
Created March 23, 2016 15:13
Show Gist options
  • Save ChasManRors/1e47fc3d6d4cbd680893 to your computer and use it in GitHub Desktop.
Save ChasManRors/1e47fc3d6d4cbd680893 to your computer and use it in GitHub Desktop.
VMM > click 'Pog Comments'
Search on arbitrary UPC '00811571016518' in VMM
Find similar line in csv file on sftp server
"00811571016518","4397400","GOOGLE CHROMECAST 2015","GOOGLE INC.","GA3A00093-","1888163","EA","4.9","4.8","1.9","","","","","","","","1.4","1.5","2.8","","","","","",""
Make a slight change 'Name'
from: "GOOGLE CHROMECAST 2015" to: "GOOGLE CHROMECAST 2025"
Run rake bby:planogram_content_sku with that new data
From the console
campaign = Campaign.current.most_recent
campaign_id = campaign.id
location = (Location.where cid: '000359').first
l = location.id
Placement.place campaign_id, l, plano_assignment_only: true, include_update_status: false
TeamAssignment.create_team_placements campaign, location
Go back to browser
VMM > click 'Pog Comments' > search "00811571016518"
=> "No POG comments found."
WHY?
Looked for ItemNumber "4397400" in search instead and found many but none with 2525
WHY?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment