Search found 60 matches

Search found 60 matches

Re: Getting customer ID to review

It is retrievable and you are not doing it properly. Is there a security reason why the customer_id is kept / should be kept hidden for confidentiality reasons? Of course. The customer profile's information would also allow to display all confidential information which may be against the customer's...

Jump to post
  • Wed Jul 18, 2018 9:50 pm
  • Replies 5
  • Views 251
Re: Getting customer ID to review

That is correct. Since we do not display the customer's profile information from the store-front end other than the actual customer profile's page where the current customer is being logged in, it is not an issue but rather for confidentiality reasons. Thanks for the reply straightlight ! I see it ...

Jump to post
  • Wed Jul 18, 2018 9:20 pm
  • Replies 5
  • Views 251
Getting customer ID to review

2.3.0.2 Hi there, I am trying to get the customer ID (The customer who left the review) onto review.tpl. Currently review.tpl pulls data including the author, date and rating from the review table (which also contains the customer ID value). It comes from the controller product.php: $this->model_cat...

Jump to post
  • Wed Jul 18, 2018 6:40 pm
  • Replies 5
  • Views 251
Profile Page for customers 2.3.0.2

Playing about with creating a profile page for customers, which pulls some data from oc_customer database. I can access each customer from the controller file by putting their ID into the getCustomer function. $customer_info = $this->model_account_customer->getCustomer(x); I am wanting to do this fo...

Jump to post
  • Tue Jul 10, 2018 10:46 pm
  • Replies 1
  • Views 187
Show page within page

While playing around with a extension I somehow had this: <a href="<?php echo $product['href']; ?>" class="button" />View Product</a> Opening the specific product page almost as a div on the page I was / the page i clicked the button on on without leaving that page. It had full functionality but sta...

Jump to post
  • Mon Jul 09, 2018 12:35 am
  • Replies 2
  • Views 139
Re: Database

Thanks alot for that!

Just so I understand correctly, by "queries" does that mean the values of each row?

And creating those queries either from the controller file or model file to fill in the fields I create myself either in PHPMyAdmin / scripted queries.

Jump to post
  • Sat Jul 07, 2018 9:21 pm
  • Replies 3
  • Views 120
Database

Wondering if anyone can help explain a few things regarding databases. So both opencart and extentions create their own tables with rows / columns.Where in the code creates this? If I'm wanting to add another table, row or column for example, do I manually need to add it in or can I create this also...

Jump to post
  • Sat Jul 07, 2018 7:19 pm
  • Replies 3
  • Views 120
Re: How Can I Get Category URL in TAB content

I don't have time to set it up locally and test today but from a quick look, you could do something simple like this: <?php echo $module; ?><?php echo $key; ?>. These are giving unique numbers for each tab, so we can use them to give specific numbers for each of our buttons, so that the button match...

Jump to post
  • Mon Jun 11, 2018 1:17 am
  • Replies 6
  • Views 446
Re: How Can I Get Category URL in TAB content

No problem! Your english is good - I just misunderstood, I know what you are wanting now! If you can send me the .tpl and controller .php of this file then I can hopefully send you back a solution to link to all the products for the selected tab's category. It will be easier / quicker for me to do t...

Jump to post
  • Sun Jun 10, 2018 10:51 am
  • Replies 6
  • Views 446
Re: Remove Pagination form Blog page

This controller blog/blog should only affect your blog, so making changes to it won't affect the category pages for example. One solution would be to change this: 'limit' => $limit This tells the pagination at limit for example 20 make a new page then 20 again make a new page and so on and so on. If...

Jump to post
  • Sat Jun 09, 2018 12:12 am
  • Replies 1
  • Views 390
Re: contact form stopped working 2.0.1.1

Have you made any changes to these files or are they the clean versions? Is your mail set up correctly in the admin -> store -> setting? So when customer sign up, forget password, etc is mail working? If yes then settings are correct, if not then I believe here lies your problem. It may be worth giv...

Jump to post
  • Sat Jun 09, 2018 12:06 am
  • Replies 2
  • Views 175
Re: Products not showing in page 2 onwards

$filter_data = array( 'filter_category_id' => $category_id, 'filter_filter' => $filter, 'sort' => $sort, 'order' => $order, 'start' => ($page - 1) * $limit, 'limit' => $limit ); Editing this can cause what you mentioned. "Sub categories to appear", you were showing products from sub categories on t...

Jump to post
  • Sat Jun 09, 2018 12:01 am
  • Replies 9
  • Views 1096
Re: Make Product ONLY Purchasable With Rewards Points?

I don't use reward points myself so may not be the best for advice. But yes it would be possible, and I'm sure many people on here would do it a much more sophisticated way than me, or know a much easier way. From reading you may not need to edit anything codewise and simply have the item you say se...

Jump to post
  • Fri Jun 08, 2018 12:47 pm
  • Replies 2
  • Views 175
Re: How Can I Get Category URL in TAB content

Hi Turkkan, Correct me if I am wrong but you want the product to link back to the category on the tabs from the product page? For example: This product (https://www.inegolmobilyan.com/oslo-orta-sehpa) would have a tab that links back to (https://www.inegolmobilyan.com/orta-sehpa). You need to make t...

Jump to post
  • Fri Jun 08, 2018 12:26 pm
  • Replies 6
  • Views 446
Customer group change on item purchased (reoccurring)

Currently I am adding customer to customer group manually. Ideally I want the customer to be added to a customer group automatically when a certain item is bought. Ideally a reoccurring item. I am thinking to basically check whether the item is in the customers order list and if so then set the cust...

Jump to post
  • Fri Jun 08, 2018 11:39 am
  • Replies 2
  • Views 231
Re: Allow users to add their own single product.

Hi Ernie, It's all done and working. You seem very knowledgeable and established on this forum so you may be able to help me with a few of the more difficult questions I have from doing it. 1) Token - this is an admin thing (I'm assuming) but the code used from the admin to achieve what I wanted is ...

Jump to post
  • Fri Jun 08, 2018 11:28 am
  • Replies 2
  • Views 332
Allow users to add their own single product.

Rather than an admin style account (user groups), I would like customers in a certain customer group to be able to add one product and be able to edit it. I will check if the account is in the customer group and if so then show the add / edit product link on their account page. Using the catalog cod...

Jump to post
  • Thu Jun 07, 2018 3:53 am
  • Replies 2
  • Views 332
Re: p.date_modified work around?

I even downloaded a clean 2.3.0.2 and it has no effect. It orders by letter A - Z. There seems to be an issue with p.date_modified, the code should work but doesn't.

Jump to post
  • Thu Jun 07, 2018 3:46 am
  • Replies 4
  • Views 273
Re: p.date_modified work around?

Add it to sorts_data array in product-model and to sorts in controller category. See attached vQmod ... I have already tried this, it doesn't work. It's been added into the sorts data array above date added in the model. And then passed into the filter array in category.php: 'sort' => 'p.date_modif...

Jump to post
  • Tue Jun 05, 2018 10:23 pm
  • Replies 4
  • Views 273

Search found 60 matches