Search found 321 matches

Search found 321 matches

Re: [RELEASED] CSRF Protection Form

Hi Straightlight, I have installed on my 3.0.3.2 release, I do see the hidden area in the admin view source but not on the front page forms (login, register etc)

straightlight wrote:
Mon Jul 14, 2014 11:12 pm
The package will be updated soon.

Jump to post
  • Wed Aug 19, 2020 8:37 pm
  • Replies 366
  • Views 72712
Re: Show Category On Product Page

I did...

IP_CAM wrote:
Tue Aug 18, 2020 7:10 am
Well, why didn't you ask either thekrotek or the other fellow on this in the first place? ???

Jump to post
  • Wed Aug 19, 2020 12:44 am
  • Replies 5
  • Views 19153
Re: Show Category On Product Page

Hey xxvirusxx, I know, I printed it here so you guys could see it as it created the possibility to use the primary category. First extension is for Admin and has nothing to do with catalog... So, if you want to display only primary category on product page then you should make changes in second exte...

Jump to post
  • Tue Aug 18, 2020 8:03 pm
  • Replies 5
  • Views 19153
[SOLVED] Show Category On Product Page

Hey Team, I found two extensions, one created by thekrotek that allows you to create a primary category for products and another created by muglali that allows you to show product categories on product pages. I want to be able to use the primary category (from the primary category module) as the cat...

Jump to post
  • Tue Aug 18, 2020 2:09 am
  • Replies 5
  • Views 19153
Re: Watchlist On Product Page

Switch, thank you so much, it worked! So far I understand how the language and twig works, I am still learning about the model and controller files. Appreciate the time you took to assist me! You don't need to pass total_watchers in your products array. See the example below (untested) ... Add a new...

Jump to post
  • Sun Aug 16, 2020 4:56 am
  • Replies 5
  • Views 322
Re: Watchlist On Product Page

So far this is what I have for the controller, I am getting an undefined variable error, I know I am missing something, not able to point it out as yet: <file path="catalog/controller/product/product.php"> <operation> <search><![CDATA[ $this->model_catalog_product->updateViewed($this->request->get['...

Jump to post
  • Sat Aug 15, 2020 11:15 pm
  • Replies 5
  • Views 322
Re: Watchlist On Product Page

Noted, yes I wanted it to be only registered users, the reason why I didnt want to count guest users is because when their browser closes their session ends etc. Thank you, I can work with only Wishlist for now and do cart later on. - No I am not a pro yet :D Easier to just go off registered users a...

Jump to post
  • Sat Aug 15, 2020 10:11 pm
  • Replies 5
  • Views 322
Re: Bestseller page

Ok noted, thank you

straightlight wrote:
Thu Aug 13, 2020 7:13 pm
This is the controller version already.

Jump to post
  • Sat Aug 15, 2020 1:09 am
  • Replies 6
  • Views 1034
[SOLVED] Watchlist On Product Page

Hey Team,
How would I go about doing the following for my 3.0.3.2 Default Theme Install
Each time a customer adds a product to their wishlist or cart it is counted and displayed on the product page as: X Persons Watching.
If the product is removed, the count should decrease.
Thank you.

Jump to post
  • Sat Aug 15, 2020 1:05 am
  • Replies 5
  • Views 322
Re: Percentage of sales from location on map

letxobnav, thank you, I will test and get back to you! you have to get the total orders in the controller admin/controller/extension/dashboard/map.php function map and add that to the returned json record. currently that function returns an array with the total and amount per iso code. $json[strtolo...

Jump to post
  • Wed Aug 12, 2020 11:23 pm
  • Replies 3
  • Views 325
Re: Percentage of sales from location on map

Anyone able to shed some light on this one? I am still stuck.

Jump to post
  • Wed Aug 12, 2020 9:35 pm
  • Replies 3
  • Views 325
Percentage of sales from location on map

Hello Team, I would like to display the percentage of sales from each location in the tooltip on the map when you hover. I am using 3.0.3.2. This should be current number of orders for the location / total number of completed orders across the store * 100 ocmod could be used: <file path="admin/view/...

Jump to post
  • Sun Aug 09, 2020 3:36 am
  • Replies 3
  • Views 325
[SOLVED] Re: Custom Map

Hey letxobnav, I ended up finding another extension that replaced world map using ocmod, so I modified that, added my map.js file and got that working with the help of straightlight. Thanks for the help though! Could someone kindly point out where I may have went wrong? Thanks All this function does...

Jump to post
  • Sun Aug 09, 2020 2:50 am
  • Replies 3
  • Views 328
Re: Custom Map

I would also like to add all previous orders to the map when I reinstall, I believe it will add only orders after the extension is installed by default.

Jump to post
  • Sat Aug 08, 2020 3:02 am
  • Replies 3
  • Views 328
[SOLVED] Custom Map

Hello, I am creating a custom map for my country using opencart 3.0.3.2, inspired by an extension built by Opencart Brazil. So far I am able to see the map and all the regions, however, when I hover over the regions I see their names, but no sale information comes up in the tooltip. I tested by crea...

Jump to post
  • Sat Aug 08, 2020 1:58 am
  • Replies 3
  • Views 328
Re: Show wish list under shopping cart page

I get what you mean. :D cookie suggestion may work well and probably a better overall solution, but you would still have to re-work the wishlist controller and other aspects for that logic. yes, I have, I do store the wishlists in the DB for both customers and guests the moment they add a product bu...

Jump to post
  • Sat Aug 01, 2020 8:17 pm
  • Replies 10
  • Views 595
Re: Show wish list under shopping cart page

Oh I see, I think I would pass it to the db after login or registration, like the cart items.

letxobnav wrote:
Fri Jul 31, 2020 10:49 pm
I double checked, I do not even save it in the database for customers anymore, too much hassle for nothing, just in a cookie is just fine.

Jump to post
  • Sat Aug 01, 2020 12:58 am
  • Replies 10
  • Views 595
Re: Show wish list under shopping cart page

I will check it out, Yeah I found that its weird. On my site I noticed that if you add to Wishlist as a guest, then it says you must be signed in... And says Wishlist (1). After you actually sign in, it goes to 0 and no items are in the Wishlist. Well, I changed wishlist so that you need not be sign...

Jump to post
  • Fri Jul 31, 2020 10:33 pm
  • Replies 10
  • Views 595
Re: Show wish list under shopping cart page

Question, seeing that wishlist is protected by account login, wouldn't this be an issue some how? Even though its a preview - I would have to still throw the message that they have to be logged in to save to wish list, however, this would have to be hidden for customers who are not logged in, probab...

Jump to post
  • Fri Jul 31, 2020 9:04 pm
  • Replies 10
  • Views 595
Re: Show wish list under shopping cart page

Hey letxobnav, thanks, I knew can be done that way, thanks for the reassurance, I will try to create an ocmod and share on my store when I am done. just make copies of the wishlist controller and view, adapt them both to function as modules and not whole page controller and view. Call the wishlist m...

Jump to post
  • Fri Jul 31, 2020 8:50 pm
  • Replies 10
  • Views 595

Search found 321 matches