aries-auto / ariesautomotive

Aries Automotive Website
MIT License
1 stars 3 forks source link

Applications Guides - Install Sheet Logic #241

Closed ninnemana closed 7 years ago

ninnemana commented 7 years ago

There is a business logic case for referencing install sheets on the applications guides page that follows the following format: https://www.curtmfg.com/masterlibrary/01ARIES/206003-2/installsheet/${part.oldPartNumber}_INS.pdf. There are two problems with this approach:

  1. The link for installation sheets is a hard-coded reference of https://www.curtmfg.com/masterlibrary/01ARIES/206003-2/installsheet/${part.oldPartNumber}_INS.pdf and it needs to include the part number in 2 places: `https://www.curtmfg.com/masterlibrary/01ARIES/206003-2/installsheet/${part.oldPartNumber}_INS.pdf.
  2. We shouldn't have a hard-coded business logic reference to the install sheet and should use the data in the API: http://ariesautomotive.com/api/appguide/Jeep%20Accessories/:0.json.