I am CS-Cart beginner and can't update a page - cs-cart

I am new to CS-Cart and I have tasks to do for my current position. I don't know how to make changes to the website. I downloaded source code for safety but in case, if I mess up anything, I don't know how to back up that code. For example, should I change the layout in CS-Cart or do I need to change CSS files locally and push? Also, if someone can explain that do I need to change anything in PHP files and if so, how?

For php changes please use the safe way, hooks and details you can find here -> https://docs.cs-cart.com/latest/developer_guide/core/coding_standards/hooks.html
In regards to theme please find documentation here -> https://docs.cs-cart.com/latest/designer_guide/index.html

Related

Prestashop 1.7 product list, product view changes

I'm trying to add some extra row after product image in prestashop 1.7 product list page.
I want to add manufacturer title above product title.
Already tried:
Change product-list.tpl code.
.../themes/theme_name/templates/catalog/listing/
but nothing happened.
Here is product image with some info about my problem:
Maybe some one know how to achieve this? Thanks.
You have to edit this file:
prestashop/themes/theme_name/templates/catalog/_partials/miniatures/product
Under the block named product_thumbnail (also external to block if you want)
Ok, I found something by my self. I'm not so sure why it happened but it was some of ".../app/cache/dev/..." - files.
Step by step:
1. Download website file
2. Search for specific classes
3. Found those classes on two files product.tpl and f33as2f1a2sf5asfa2sfasf20132.file.product.tpl.php
4. Then back to my ftp found that second file with long name and change a code there...
5. It works
Maybe its nasty work-around, so that's why I'm asking for more information for those who know more about things like this. Maybe there is something in back office (prestashop dashboard) settings... Developer/production mode or something? because by my opinion is just a nasty work around and I want to know more and learn more about it. Thanks. <- UPDATE: -> its useless to edit cache files, you need to make changes ant clear cache from terminal || or admin dashboard.
UPDATE BELOW (in comments)--->>>

Magento changing mini cart checkout behaviour

I'm trying to change the behavior of my mini cart checkout button to take people to a different URL then what we currently have.
I can see the code i need to change in chrome's inspector but i can't for the life of my find the file to edit on our server.
Can anyone point me in the right direction?
Just copy the line you want to change and use find tool of your IDE to find this line of code.

PayPal Express Review Order Page In Magento - Where I can edit code for design layout

My magento template is forcing me to have a final REVIEW ORDER page when checking out. I want to be able to edit the design of that page, but I cannot find what file the code is in. UGGH. Can someone help me? See screenshot.
I want to be able to change the font size of the words "REVIEW ORDER" to make it stand out more.
The file you are looking for resides on
app/design/frontend/base/default/template/paypal/express/review.phtml
But before making changes to it,its good practice of overwriting it to you theme and making changes there.
Hope, this is what you are looking for.

Google Checkout button not appearing on cart page

Hope you guys don't mind me asking this question, but I find myself at a loss to why this is happening and need some suggestions on how I might resolve the issue. If I shouldn't ask these kinds of questions, please let me know.
Currently I am working on a Magento 1.9 site that was upgraded from 1.8 and when I enabled Google Checkout, the button doesn't appear on the cart page (/checkout/cart/). I went back to the default template that Magento uses and it still didn't work.
I then tried enabling Google Checkout on a clean copy of Magento 1.9 and it worked. Then I tried replacing the core mage checkout folder with the ones from the clean copy of Magento and that didn't work.
So I have test the layout, template and core mage checkout files and nothing happens.
I also tried accessing Google Checkout directly with this piece of code:
<?php echo $this->getLayout()->createBlock('googlecheckout/link')->setTemplate('googlecheckout/link.phtml')->toHtml(); ?>
Does anyone have any suggestions? Thanks so much!
First, turn the default template on for testing, just to be sure. Clear all your caches and try again. Make sure that there aren't any "hidden" elements on the page displaying it. It may be helpful to turn on template hints to see if the block exists as anticipated but does not render any content, or if the block actually does not exist as anticipated.
If no joy, check to make sure that Google's critera are met. Taking a look at that template and block, there are a few checks that need to pass to get checkout:
Mage::getModel('googlecheckout/payment')->isAvailable($quote)
$quote->validateMinimumAmount()
Every single product in the cart must return false to $item->getProduct()->getEnableGooglecheckout() (otherwise, ti looks like the template wants to display an image)
Report back if you still have problems :)
Thanks,
Joe

Magento frontend and backend page looks different

I am a newb in magento and recently started looking at it to create a store for my client.
I am not sure but i tried installing firephp extension and soon after that I’m having my screen looks like the screenshot. ** please check the link provided!
Do I have to make any installations to get everything working as normal or what am I suppose to do to go to the normal screen. I have also changed the inline translation option to NO if thats what it requires.
Any help would be appreciated.
Cheers I have also posted this question on the magento forum
http://www.magentocommerce.com/boards/viewthread/193499/
Looks like you turned on some sort of template building helper that shows what templates generate which parts of the page.
Some quick googling found this, which appears to be the one. Look for "Template Path Hints" in the settings and turn it off.

Resources