Jump to content

 

bebopboy

Member Since 04 Feb 2020
Offline Last Active Mar 02 2021 06:01 AM
-----

#331175 Using The Event Notification System With The Api?

Posted by bebopboy on 07 September 2020 - 07:28 AM

Hi, I'm trying to extend the functionality of the API for 'Reset Password' similar to what the normal CS-Cart system does. But I get an error whenever I put

 $event_dispatcher = Tygh::$app['event.dispatcher'];

The error being:

Class 'Tygh\Api\Entities\Tygh' not found

Does this mean I can't use the event system through the API? If I can and I'm just doing something wrong, how do I solve this problem?




#330805 How Do You Add A Product To A Cart Through The Api?

Posted by bebopboy on 26 August 2020 - 09:55 AM

Nevermind, I found it. I assume it's not as easy as using it the same way the normal API is used? Because I keep getting "The Entity is not found, when I use the names of their classes". Any hint on how to use them? Or a specific file I should look into?




#330761 How Do You Add A Product To A Cart Through The Api?

Posted by bebopboy on 25 August 2020 - 07:31 AM

Hi, I'm exploring the API, and I understand how to fetch a cart and a product using the API. My question now is if there is a way to add a product through the API?




#329030 What Is Fn_User_Send_Otp Used For?

Posted by bebopboy on 24 June 2020 - 07:53 AM

Ah I see, thank you!




#328771 Total Price Of Each Item Row In Checkout.cart Not Updating When Changing Quan...

Posted by bebopboy on 15 June 2020 - 09:34 AM

Nevermind, I found the problem, I commented out a button in the cart_content.tpl file because I didn't want it to be seen, but it looks like I commented out a closing </div> tag when I did that as well. I got it to work again, thanks anyway!




#328534 Where Is The Code That Assigns Data To The Filters Block?

Posted by bebopboy on 08 June 2020 - 06:48 AM

That was exactly it, you've saved me again, thanks!!




#328449 Where Is The 'remove' From Wishlist Button In Wishlist.view Tpl?

Posted by bebopboy on 05 June 2020 - 06:19 AM

worked great, thanks!




#328337 What Function Sends Data To The Cart Content Block And The Products In Cart B...

Posted by bebopboy on 03 June 2020 - 06:52 AM

That was it, thanks a bunch!




#327899 Where Do I Change The Text Value Of Tabs For The Tags Addon?

Posted by bebopboy on 20 May 2020 - 07:34 AM

Ah no, I didn't change the content of the language variable that had 'tag' as the value.But I was able to find what I was looking for, I changed the 'title' in the products.post.php in the backend tags controller folder.




#327556 Don't Let Vendors Select 'status' As A Product Property When Impo...

Posted by bebopboy on 11 May 2020 - 08:49 AM

Oh, I didn't know about that addon. Yes, it does solve my problem, thank you very much!




#325266 What Is The File That Controls The Order Tracking?

Posted by bebopboy on 04 March 2020 - 06:47 AM

That's exactly what I was looking for, thanks!




#324442 How To Add Breadcrumbs To Custom Layout?

Posted by bebopboy on 07 February 2020 - 03:23 AM

Nevermind, I got it to work haha.