Skip to content

Commit ef492c0

Browse files
authored
Naam van de personal recommendations toegevoegd
1 parent 1d101fe commit ef492c0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

huw.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ def renderpackettemplate(self, template="homepage.html", packet={}):
220220
packet['shopping_cart_count'] = self.shoppingcartcount()
221221
if 'r_products' not in packet:
222222
packet['r_products'] = self.recommendations(4, list(self.recommendationtypes.keys())[4], [], [])
223-
packet['r_type'] = list(self.recommendationtypes.values())[0]
224-
packet['r_string'] = list(self.recommendationtypes.values())[0]
223+
packet['r_type'] = list(self.recommendationtypes.values())[4]
224+
packet['r_string'] = list(self.recommendationtypes.values())[4]
225225
return render_template(template, packet=packet)
226226

227227
""" ..:: Recommendation Functions ::.. """
@@ -338,4 +338,4 @@ def changepaginationcount(self):
338338

339339
# TODO: add @app.errorhandler(404) and @app.errorhandler(405)
340340

341-
huw = HUWebshop(app)
341+
huw = HUWebshop(app)

0 commit comments

Comments
 (0)