Post by Retrofox » Sat Aug 15, 2020 11:21 pm

Thanks, working on that.=)

For the Mobile visual problem shown above, any idea how I can replace it with the mini cart shown below?
Image

This style would fit perfectly on mobile if the product names force wrap.

Oh just found that the files I need are in the default theme folder like some other modules ect.
I should be able to sort this visual problem out now and will post back results.

Newbie

Posts

Joined
Fri Oct 04, 2019 4:41 am

Post by letxobnav » Sun Aug 16, 2020 1:19 am

Would this be the root config for v3? Not the admin config? (or both?)
Both or it will write a warning in your error log when in admin as admin also uses the cart class.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by Retrofox » Sun Aug 16, 2020 2:26 am

That did the trick wonderfully mate.
hard coded both configs and then made an Ocmod to do the rest and its perfect.
Thanks a ton.

I also fixed the Mobile issue i mentioned by reformatting the tables in
/catalog/view/theme/default/template/checkout/confirm.twig.

It now looks like this, no one should ever miss the total =)
Image

Newbie

Posts

Joined
Fri Oct 04, 2019 4:41 am

Post by letxobnav » Sun Aug 16, 2020 7:13 am

Good, the reason I use switches in config.php is that while developing it gives a single point of turning a change on/off and if it works properly you can easily transform those later to an admin setting and then use the settings table instead and remove it from config.

mobile view looks good.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by khnaz35 » Sun Aug 16, 2020 2:07 pm

Retrofox wrote:
Sun Aug 16, 2020 2:26 am
That did the trick wonderfully mate.
hard coded both configs and then made an Ocmod to do the rest and its perfect.
Thanks a ton.

I also fixed the Mobile issue i mentioned by reformatting the tables in
/catalog/view/theme/default/template/checkout/confirm.twig.

It now looks like this, no one should ever miss the total =)
Image
Looks good now! finally made it :)

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by straightlight » Tue Oct 13, 2020 7:47 am

I have no idea why this topic has been posted on the Bug Reports but it is clearly not a bug. I also don't know why this CUSTOMER_CART constant has been created and mixed with the library cart as double work. The external API from my Github namespace can already be used: https://github.com/straightlight/openca ... upload/api . This has been considered since over a year and can simply be pulled from API logins and furthermore as well as using the $this->ApiLoad object from the OC registry along with the original $this->load object from the core altogether.

Meaning, the cart can entirely be created as an interface by calling a new Cart controller by using the $this->ApiLoad in order to be used with other platforms via JSON request and response.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by letxobnav » Tue Oct 13, 2020 9:34 am

I never said this was a bug, if it bothers you, move it.
For the rest, you lost me at "I also don't know why...".

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by straightlight » Tue Oct 13, 2020 9:56 am

letxobnav wrote:
Tue Oct 13, 2020 9:34 am
I never said this was a bug, if it bothers you, move it.
For the rest, you lost me at "I also don't know why...".
My last reply regarding the created topic in this section itself was not addressed to you. Only the CUSTOMER_CART constant.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 169 guests