Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach($attributes as $attribute){
- if($av_list){
- $cur_av_list = $av_list . ',' . $attribute['value'];
- $cur_av_uri = $this->request->get['av'] . ',' . $attribute['value'] . "|" . $attribute['name'];
- } else {
- $cur_av_list = $attribute['name'];
- $cur_av_uri = $attribute['value'] . "|" . $attribute['name'];
- }
- $tmp_uri = explode('&', $ln_uri);
- $tmp_uri_array = $this->remove_item_by_value($tmp_uri, 'av');
- $new_uri = implode('&', $tmp_uri_array);
- $this->data['attributes'][$attribute['name']][] = array(
- 'name' => $attribute['value'],
- 'qty' => $attribute['qty'],
- 'href' => $this->url->link('product/browse', $new_uri . '&av=' . $cur_av_uri)
- );
- }
Add Comment
Please, Sign In to add comment