These are the SPI pins:
MOSI: (Master Out Slave In) Datapin (Arduino: 11) -> goes to SI (14) pin of the 74HC595
SCK: Clockpin (Arduino: 13) -> goes to SCK (11) pin of the 74HC595
SS: Slave Select (Arduino: 10 ) -> goes to RCK (12) pin of the 74HC595
You will need this at the top of your sketch
#include <SPI.h>
byte SS = 10;
and this within void setup()
pinMode (SS, OUTPUT);
SPI.begin();