Jump to content



Member Since 16 Feb 2018
Offline Last Active Apr 10 2020 09:45 PM

Posts I've Made

In Topic: Default Filter Value

10 April 2020 - 09:49 PM

I solved it by adding the following in htaccess

RewriteCond %{REQUEST_FILENAME} !admin.php [NC]
RewriteCond %{QUERY_STRING} !(^|&)features_hash= [NC]
RewriteRule . %{REQUEST_URI}?features_hash=314-44914 [L,R=301,NC,QSA]

Of course I used my personal admin.php string and now the entire site has a default features hash which selects the summer collection clothes.


I excluded from that the admin backend and also the homepage. So no filter there.



In Topic: Default Filter Value

10 April 2020 - 03:12 PM

But that would separate the products of each category permanently. There will be no way for a visitor to see all shirts (regardles of season). Right now it's possible to have no filter selected and view all products in a category. Then I can filter them out.


If I separate them by category, I won't be able to navigate to the winter products without a separate menu item. I literally have to disable one season's products.


I need the ability to have a "preferred option" or filter enabled. I tried some htaccess magic but it seems that it doesn't work with all the redirects that happen.


Here is the code I tried for referrence:

RewriteCond %{QUERY_STRING} !(^|&)features_hash= [NC]
RewriteRule ^ %{REQUEST_URI}?features_hash=314-44914 [L,R=301,NC,QSA]

That only redirects the home page though to the query of the filter and does not work on subsequent ULRs.

In Topic: Default Filter Value

09 April 2020 - 05:07 PM

you mean redo the whole category tree for summer?

In Topic: Reward Points Incremental Cash Out

30 November 2019 - 02:32 PM

Thank you tbirnseth,


Fun is what I intend to have. The customer went live with the eshop using normal points functionality and gave me an open slate for when the functionality he requested will be made available. I will use that time getting aquanted with the logic behind cs-cart addon development and create it as an educative project for myself.


I will disagree with you regarding the documentation concerning addon development. Unless I'm mistaken, It's just one article in there without much structure and explanations. (I do not count the Hello world addon as an actual tutorial. It's way too basic).


There are independent resources online however and they should be helpful although having to put together bits and pieces takes a bit more time that it's optimal.


A challenge is a challenge though and I will take it on.


I stand strong though on the view that developers should offer their services on dedicated platforms, or threads that are meant for this purpose. That's why most forums have a section thats titled "hire a developer here" or something similar.


Imagine how stack exchange would look if everyone who posted a question there would get responses like "Hey for your problem I can help you if you send me 5$ on my paypal account". Or "Your issue requires a developer to deal with it. Hire one at developersforhire.com"


Anyway It's a point of view. It's how I've always dealt with stuff.

Will I be able to write addon code if I try it on my own? Of course

Will I be able to do it faster with the help of the forums? Definitely - much faster and much easier.


As the song goes... "I get by with a little help from my friends". That's all I can say about how I go most of my developing experience.

In Topic: Reward Points Incremental Cash Out

29 November 2019 - 12:15 PM



I appreciate you taking the time to go through all of my points. Sometimes people don't do that.


Now, I wouldn't like to make it a debate here and don't want to get you on the defensive. I have worked with simtech development in the past and will probably do so in the future.


The main issue is that I expected to get help in here on how to do the modifications myself. If I wanted professional help I'd contact simtech as I've done in the past.


By the way, I have contacted them and just to add a threshold for the amount of points you can use to pay for an order (that means that only if you have a certain amount of points and above should the pay by points field get activated) they made a rough estimate of 1000$. Ok... that's not overpricing it... that's ridiculus.



Also you mentioned:

As far as I know, you wanted to make an option to be shown in a drop-down rather that after a comma for the cases when only one product option is available. According to the default CS-Cart functionality, it can be done if you create a product variation http://joxi.ru/12MgpJ8Hlj3Oqr, so you need to have at least one variation to do this. No development is required http://joxi.ru/RmzBz...mzBzdaCYy6ljm  


Actually no. That doesn't work. you need to create a variation with at least 2 products. You can then set the second one as out of stock and then you would get the desired effect (as long as out of stock products are not displayed). That's how we do it for the time being. It's a workaround though, it's not a solution. If out of stock products could be backordered, that workaround would lose it's point.


And for your last point:


f you need further counselling on the default CS-Cart functionality, the following resources are available:


- Official documentation https://docs.cs-cart...test/index.html

- This forum

- CS-Cart support service https://www.cs-cart....rt-service.html

- Simtech Development dedicated development and technical support. https://www.simtechd...-developer.html


cs-cart helpdesk made it perfectly clear that they won't help where developing necessities arise. The official documentation only includes one example which is helpful (I was able to create a few back - end plugins) but lack a more detailed approach or further steps concerning the core file structure and functions that need to be used as hooks.


This forum was my only hope for a development "hold-my-hand-for-the-first-steps" conversation but I guess I should try my luck with stack exchange for that. Regretably, I got no responses on 2 topics concerning the same issue.